diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/portmap/files/portmap.init | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/package/portmap/files/portmap.init b/package/portmap/files/portmap.init new file mode 100644 index 0000000000..e1ed89a60f --- /dev/null +++ b/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 $? |