add support for calls to a hotplug script on interface state changes
[project/netifd.git] / netifd.h
index 1bb3820..926cab8 100644 (file)
--- a/netifd.h
+++ b/netifd.h
 
 #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 {