add an initscript

SVN-Revision: 1536
master
Nicolas Thill 19 years ago
parent 15f3d986a3
commit cd86893a90
  1. 16
      openwrt/package/portmap/files/portmap.init

@ -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 $?
Loading…
Cancel
Save