From 8c35047c29ac15b27737a66da5a859232785bba4 Mon Sep 17 00:00:00 2001 From: nico Date: Fri, 22 Jul 2005 23:07:18 +0000 Subject: add an initscript git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1536 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/portmap/files/portmap.init | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 package/portmap/files/portmap.init (limited to 'package/portmap') diff --git a/package/portmap/files/portmap.init b/package/portmap/files/portmap.init new file mode 100644 index 000000000..e1ed89a60 --- /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 $? -- cgit v1.2.3