packages/net/portmap/files/portmap.init
nico 35ea947770 [packages] portmap fixes:
- disable pie (closes: #3095)
 - use start-stop-daemon
 - bump release number


git-svn-id: svn://svn.openwrt.org/openwrt/packages@11001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-02 01:20:40 +00:00

17 lines
282 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2008 OpenWrt.org
START=40
NAME=portmap
PROG=/usr/sbin/$NAME
DEFAULT=/etc/default/$NAME
start() {
[ -f $DEFAULT ] && . $DEFAULT
start-stop-daemon -q -S -x $PROG -- $OPTIONS
}
stop() {
start-stop-daemon -q -K -x $PROG -- $OPTIONS
}