port lots of init scripts over to rc.common (more to come)
[openwrt/svn-archive/archive.git] / net / portmap / files / portmap.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3
4 BIN=portmap
5 DEFAULT=/etc/default/$BIN
6 [ -f $DEFAULT ] && . $DEFAULT
7
8 start() {
9 $BIN $OPTIONS
10 }
11
12 stop() {
13 killall $BIN
14 }
15