[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
This commit is contained in:
nico
2008-05-02 01:20:40 +00:00
parent 359cf4f358
commit 35ea947770
3 changed files with 20 additions and 8 deletions

View File

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