move the main path to ./dummy to maintain the proper proto script implementations...
[project/netifd.git] / netifd.h
index 1bb3820..aa04c51 100644 (file)
--- a/netifd.h
+++ b/netifd.h
 
 #include "utils.h"
 
 
 #include "utils.h"
 
+#ifdef DUMMY_MODE
+#define DEFAULT_MAIN_PATH      "./dummy"
+#define DEFAULT_HOTPLUG_PATH   "./scripts/hotplug-cmd"
+#else
+#define DEFAULT_MAIN_PATH      "/lib/netifd"
+#define DEFAULT_HOTPLUG_PATH   "/sbin/hotplug-cmd"
+#endif
+
+extern char *hotplug_cmd_path;
 extern unsigned int debug_mask;
 
 enum {
 extern unsigned int debug_mask;
 
 enum {