let ipkg fail when a package file to be installed is not found
[openwrt.git] / openwrt / package / parprouted / files / parprouted.init
1 #!/bin/sh
2
3 BIN=parprouted
4 DEFAULT=/etc/default/$BIN
5 [ -f $DEFAULT ] && . $DEFAULT
6
7 case $1 in
8  start)
9   $BIN $OPTIONS
10   ;;
11  *)
12   echo "usage: $0 (start)"
13   exit 1
14 esac
15
16 exit $?