packages/net/portmap/files/portmap.init

17 lines
202 B
Plaintext
Raw Normal View History

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=40
BIN=portmap
DEFAULT=/etc/default/$BIN
start() {
[ -f $DEFAULT ] && . $DEFAULT
$BIN -u 0 -g 0 $OPTIONS
}
stop() {
killall $BIN
}