Openwrt/openwrt/package/portmap/files/portmap.init
Nicolas Thill cd86893a90 add an initscript
SVN-Revision: 1536
2005-07-22 23:07:18 +00:00

17 lines
174 B
Bash

#!/bin/sh
BIN=portmap
DEFAULT=/etc/default/$BIN
[ -f $DEFAULT ] && . $DEFAULT
case $1 in
start)
$BIN $OPTIONS
;;
*)
echo "usage: $0 (start)"
exit 1
esac
exit $?