add an initscript

SVN-Revision: 1536
owl
Nicolas Thill 2005-07-22 23:07:18 +00:00
parent 15f3d986a3
commit cd86893a90
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#!/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 $?