packages/net/nocatauth/files/nocatauth-gateway

15 lines
185 B
Plaintext
Raw Permalink Normal View History

#!/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
}