diff options
Diffstat (limited to 'openwrt/package/parprouted/files/parprouted.init')
-rwxr-xr-x | openwrt/package/parprouted/files/parprouted.init | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/openwrt/package/parprouted/files/parprouted.init b/openwrt/package/parprouted/files/parprouted.init new file mode 100755 index 000000000..2422657ee --- /dev/null +++ b/openwrt/package/parprouted/files/parprouted.init @@ -0,0 +1,16 @@ +#!/bin/sh + +BIN=parprouted +DEFAULT=/etc/default/$BIN +[ -f $DEFAULT ] && . $DEFAULT + +case $1 in + start) + $BIN $OPTIONS + ;; + *) + echo "usage: $0 (start)" + exit 1 +esac + +exit $? |