[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:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user