diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-07-22 23:07:18 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-07-22 23:07:18 +0000 |
commit | 88a441fd860a7a853ac7226747dd3865f0ef6ff5 (patch) | |
tree | 08f7279e1ddd4113c6226004bea1f8ebd509d835 /package/portmap | |
parent | f2b624a03225e46479a72082027b8c3586b6b6d7 (diff) | |
download | upstream-88a441fd860a7a853ac7226747dd3865f0ef6ff5.tar.gz upstream-88a441fd860a7a853ac7226747dd3865f0ef6ff5.tar.bz2 upstream-88a441fd860a7a853ac7226747dd3865f0ef6ff5.zip |
add an initscript
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1536 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/portmap')
-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 $? |