diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-07 18:51:55 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-07 18:51:55 +0200 |
commit | 2152229c45f470a14dee33507b331ac38055e062 (patch) | |
tree | e23c22759d6dfa0edd1300aa77e7a6c283300139 /netifd.h | |
parent | ed1bbf2f3c9933e7088299704d9b6e9dd61f027d (diff) |
add support for calls to a hotplug script on interface state changes
Diffstat (limited to 'netifd.h')
-rw-r--r-- | netifd.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 { |