packages/net/nstx/files/nstx.init
florian 431772b1eb Add nstx
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-24 12:05:30 +00:00

16 lines
279 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=60
start() {
include /lib/network
scan_interfaces
config_get domain "$domain" domain
config_get dns_next_server "$dns_next_server" dns_next_server
nstxcd $domain $dns_next_server
}
stop() {
killall nstxcd
}