aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/busybox/busybox/ifplugd.action
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/busybox/busybox/ifplugd.action')
-rwxr-xr-xrecipes/busybox/busybox/ifplugd.action6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/busybox/busybox/ifplugd.action b/recipes/busybox/busybox/ifplugd.action
new file mode 100755
index 00000000..44fe0405
--- /dev/null
+++ b/recipes/busybox/busybox/ifplugd.action
@@ -0,0 +1,6 @@
+#/bin/sh
+if [ "${2}" == "up" ]; then
+ ifup ${1}
+else
+ ifdown ${1}
+fi