projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add support for calls to a hotplug script on interface state changes
[project/netifd.git]
/
netifd.h
diff --git
a/netifd.h
b/netifd.h
index
1bb3820
..
926cab8
100644
(file)
--- a/
netifd.h
+++ b/
netifd.h
@@
-13,6
+13,13
@@
#include "utils.h"
+#ifdef DUMMY_MODE
+#define DEFAULT_HOTPLUG_PATH "./scripts/hotplug-cmd"
+#else
+#define DEFAULT_HOTPLUG_PATH "/sbin/hotplug-cmd"
+#endif
+
+extern char *hotplug_cmd_path;
extern unsigned int debug_mask;
enum {