1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-02 08:47:31 +02:00
openwrt-xburst/openwrt/package/portmap/files/portmap.init
nico 39c19d7943 add an initscript
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1536 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 $?