From cd86893a90439aee170e48fcef63b773192eddf6 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Fri, 22 Jul 2005 23:07:18 +0000 Subject: [PATCH] add an initscript SVN-Revision: 1536 --- openwrt/package/portmap/files/portmap.init | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 openwrt/package/portmap/files/portmap.init diff --git a/openwrt/package/portmap/files/portmap.init b/openwrt/package/portmap/files/portmap.init new file mode 100644 index 0000000000..e1ed89a60f --- /dev/null +++ b/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 $? -- 2.30.2