2006-10-04 20:57:49 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
2008-05-02 01:20:40 +00:00
|
|
|
# Copyright (C) 2006-2008 OpenWrt.org
|
2006-08-06 11:48:04 +00:00
|
|
|
|
2008-09-03 14:14:19 +00:00
|
|
|
START=19
|
2008-05-02 01:20:40 +00:00
|
|
|
NAME=portmap
|
|
|
|
PROG=/usr/sbin/$NAME
|
|
|
|
DEFAULT=/etc/default/$NAME
|
2006-08-06 11:48:04 +00:00
|
|
|
|
2006-10-04 20:57:49 +00:00
|
|
|
start() {
|
2006-10-15 21:03:30 +00:00
|
|
|
[ -f $DEFAULT ] && . $DEFAULT
|
2008-05-02 01:20:40 +00:00
|
|
|
start-stop-daemon -q -S -x $PROG -- $OPTIONS
|
2006-10-04 20:57:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
stop() {
|
2008-05-02 01:20:40 +00:00
|
|
|
start-stop-daemon -q -K -x $PROG -- $OPTIONS
|
2006-10-04 20:57:49 +00:00
|
|
|
}
|