nuke the nstx init script. it is unusable and needs a rewrite
git-svn-id: svn://svn.openwrt.org/openwrt/packages@7899 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8d1c92aa34
commit
89b9d9e4b2
@ -57,7 +57,6 @@ endef
|
|||||||
define Package/nstxd/install
|
define Package/nstxd/install
|
||||||
$(INSTALL_DIR) $(1)/etc/init.d $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/etc/init.d $(1)/usr/sbin
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/nstxd $(1)/usr/sbin
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/nstxd $(1)/usr/sbin
|
||||||
$(INSTALL_BIN) ./files/nstx.init $(1)/etc/init.d/nstxd
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,nstx))
|
$(eval $(call BuildPackage,nstx))
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
#!/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
|
|
||||||
nstxd $domain $dns_next_server
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
killall nstxd
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user