summaryrefslogtreecommitdiff
path: root/openwrt/package/howl/files/autoipd.init
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/howl/files/autoipd.init')
-rw-r--r--openwrt/package/howl/files/autoipd.init20
1 files changed, 0 insertions, 20 deletions
diff --git a/openwrt/package/howl/files/autoipd.init b/openwrt/package/howl/files/autoipd.init
deleted file mode 100644
index eed5936..0000000
--- a/openwrt/package/howl/files/autoipd.init
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-DEFAULT=/etc/default/autopid
-RUN_D=/var/run
-PID_F=$RUN_D/autoipd.pid
-[ -f $DEFAULT ] && . $DEFAULT
-
-case $1 in
- start)
- [ -d $RUN_D ] || mkdir -p $RUN_D
- autoipd $OPTIONS
- ;;
- stop)
- [ -f $PID_F ] && kill $(cat $PID_F)
- ;;
- *)
- echo "usage: $0 (start|stop)"
- exit 1
-esac
-exit $?