8aaf048cab
and prevent unmounting the rootfs on poweroff/reboot. Thanks Peter Wagner git-svn-id: svn://svn.openwrt.org/openwrt/packages@19564 3c298f89-4303-0410-b956-a3cf2f4a3e73
19 lines
291 B
Bash
19 lines
291 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2006-2008 OpenWrt.org
|
|
|
|
START=19
|
|
STOP=19
|
|
|
|
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
|
|
}
|