mirror of
https://github.com/outbackdingo/openwrt.git
synced 2026-02-18 00:20:53 +00:00
add an initscript
SVN-Revision: 1536
This commit is contained in:
16
openwrt/package/portmap/files/portmap.init
Normal file
16
openwrt/package/portmap/files/portmap.init
Normal 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 $?
|
||||
Reference in New Issue
Block a user