summaryrefslogtreecommitdiffstats
path: root/recipes/busybox/busybox/busybox-ifplugd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/busybox/busybox/busybox-ifplugd.sh')
-rwxr-xr-xrecipes/busybox/busybox/busybox-ifplugd.sh32
1 files changed, 0 insertions, 32 deletions
diff --git a/recipes/busybox/busybox/busybox-ifplugd.sh b/recipes/busybox/busybox/busybox-ifplugd.sh
deleted file mode 100755
index 9ea40a8..0000000
--- a/recipes/busybox/busybox/busybox-ifplugd.sh
+++ /dev/null
@@ -1,32 +0,0 @@
1#!/bin/sh
2DAEMON=/usr/sbin/ifplugd
3NAME=ifplugd
4DESC="Busybox IFPLUG Server"
5ARGS="-i eth0"
6
7test -f $DAEMON || exit 1
8
9set -e
10
11case "$1" in
12 start)
13 echo -n "starting $DESC: $NAME... "
14 /sbin/start-stop-daemon -S -b -n $NAME -a $DAEMON -- $ARGS
15 echo "done."
16 ;;
17 stop)
18 echo -n "stopping $DESC: $NAME... "
19 /sbin/start-stop-daemon -K -n $NAME
20 echo "done."
21 ;;
22 restart)
23 echo "restarting $DESC: $NAME... "
24 $0 stop
25 $0 start
26 echo "done."
27 ;;
28 *)
29 echo "Usage: $0 {start|stop|restart}"
30 exit 1
31 ;;
32esac