summaryrefslogtreecommitdiffhomepage
path: root/netifd.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-09 23:47:11 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-09 23:47:11 +0200
commit7c4108d49d3048d8c14e73d5f366a13ed814df8d (patch)
treefdb1f8605552c802924ee83ee020916d6540f8b9 /netifd.h
parent49a8c2cecb4e1a54b986d9768c8f1f912365ac8b (diff)
use /lib/netifd as main path when dummy mode is disabled
Diffstat (limited to 'netifd.h')
-rw-r--r--netifd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/netifd.h b/netifd.h
index 926cab8..c80980f 100644
--- a/netifd.h
+++ b/netifd.h
@@ -14,8 +14,10 @@
#include "utils.h"
#ifdef DUMMY_MODE
+#define DEFAULT_MAIN_PATH "."
#define DEFAULT_HOTPLUG_PATH "./scripts/hotplug-cmd"
#else
+#define DEFAULT_MAIN_PATH "/lib/netifd"
#define DEFAULT_HOTPLUG_PATH "/sbin/hotplug-cmd"
#endif