packages/net/nocatauth/files/nocatauth-gateway
agb cdc6a68dbb [packages] add nocatauth, thanks Russell Senior
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-28 20:37:56 +00:00

15 lines
185 B
Bash
Executable File

#!/bin/sh /etc/rc.common
# Copyright (C) 2009 OpenWrt.org
START=90
GATEWAY=/usr/nocatauth/bin/gateway
CONF=/etc/nocat.conf
start() {
$GATEWAY -f $CONF
}
stop() {
killall gateway
}