projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea6dec1
)
fix path and invocation for hotplug calls
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 20 Oct 2011 14:29:58 +0000
(16:29 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 20 Oct 2011 14:29:58 +0000
(16:29 +0200)
interface-event.c
patch
|
blob
|
history
netifd.h
patch
|
blob
|
history
diff --git
a/interface-event.c
b/interface-event.c
index 83ac6f771fbc33b2f816e24daa7e6111eae45a95..4e0773df45adb1966ec522f85d572c1f61e249ba 100644
(file)
--- a/
interface-event.c
+++ b/
interface-event.c
@@
-40,7
+40,7
@@
run_cmd(const char *ifname, const char *device, bool up)
if (device)
setenv("DEVICE", device, 1);
argv[0] = hotplug_cmd_path;
- argv[1] = "
network
";
+ argv[1] = "
iface
";
argv[2] = NULL;
execvp(argv[0], argv);
exit(127);
diff --git
a/netifd.h
b/netifd.h
index 2167d6f91c556d0c56aa1c3169dafe82944c1d7c..9bf3f98b6885d2af0c76c6449730b38fdc1c3608 100644
(file)
--- a/
netifd.h
+++ b/
netifd.h
@@
-19,7
+19,7
@@
#define DEFAULT_RESOLV_CONF "./tmp/resolv.conf"
#else
#define DEFAULT_MAIN_PATH "/lib/netifd"
-#define DEFAULT_HOTPLUG_PATH "/sbin/hotplug-c
md
"
+#define DEFAULT_HOTPLUG_PATH "/sbin/hotplug-c
all
"
#define DEFAULT_RESOLV_CONF "/tmp/resolv.conf.auto"
#endif