cdc6a68dbb
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16610 3c298f89-4303-0410-b956-a3cf2f4a3e73
15 lines
185 B
Bash
Executable File
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
|
|
}
|