projects
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[packages] portmap: Stop the portmap daemon, otherwise it will keep a lock file
[packages.git]
/
net
/
portmap
/
files
/
portmap.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2006-2008 OpenWrt.org
3
4
START=19
5
STOP=19
6
7
NAME=portmap
8
PROG=/usr/sbin/$NAME
9
DEFAULT=/etc/default/$NAME
10
11
start() {
12
[ -f $DEFAULT ] && . $DEFAULT
13
start-stop-daemon -q -S -x $PROG -- $OPTIONS
14
}
15
16
stop() {
17
start-stop-daemon -q -K -x $PROG -- $OPTIONS
18
}