diff options
-rwxr-xr-x | examples/hotplug-cmd (renamed from scripts/hotplug-cmd) | 0 | ||||
-rwxr-xr-x | examples/proto/ppp.sh (renamed from dummy/proto/ppp.sh) | 3 | ||||
-rwxr-xr-x | examples/proto/pptp.sh (renamed from dummy/proto/pptp.sh) | 3 | ||||
-rw-r--r-- | netifd.h | 4 | ||||
-rwxr-xr-x | scripts/netifd-proto.sh (renamed from dummy/netifd-proto.sh) | 0 |
5 files changed, 5 insertions, 5 deletions
diff --git a/scripts/hotplug-cmd b/examples/hotplug-cmd index 2488a77..2488a77 100755 --- a/scripts/hotplug-cmd +++ b/examples/hotplug-cmd diff --git a/dummy/proto/ppp.sh b/examples/proto/ppp.sh index c710bf2..f0d0ca3 100755 --- a/dummy/proto/ppp.sh +++ b/examples/proto/ppp.sh @@ -1,6 +1,7 @@ #!/bin/sh +DUMMY=1 +. ../../scripts/netifd-proto.sh -. ../netifd-proto.sh init_proto "$@" ppp_generic_init_config() { diff --git a/dummy/proto/pptp.sh b/examples/proto/pptp.sh index 914604f..5189e95 100755 --- a/dummy/proto/pptp.sh +++ b/examples/proto/pptp.sh @@ -1,6 +1,5 @@ #!/bin/sh - -. ../netifd-proto.sh +. ../../scripts/netifd-proto.sh init_proto "$@" proto_pptp_init_config() { @@ -29,8 +29,8 @@ #include "utils.h" #ifdef DUMMY_MODE -#define DEFAULT_MAIN_PATH "./dummy" -#define DEFAULT_HOTPLUG_PATH "./scripts/hotplug-cmd" +#define DEFAULT_MAIN_PATH "./examples" +#define DEFAULT_HOTPLUG_PATH "./examples/hotplug-cmd" #define DEFAULT_RESOLV_CONF "./tmp/resolv.conf" #else #define DEFAULT_MAIN_PATH "/lib/netifd" diff --git a/dummy/netifd-proto.sh b/scripts/netifd-proto.sh index 6f20de9..6f20de9 100755 --- a/dummy/netifd-proto.sh +++ b/scripts/netifd-proto.sh |