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