From: nbd Date: Mon, 14 May 2012 20:58:35 +0000 (+0000) Subject: ahcp: remove the proto handler script, it seems to be completely useless X-Git-Url: http://git.archive.openwrt.org/?p=packages.git;a=commitdiff_plain;h=b60301cc2727128f8a1c8670d93ea8221048bbd5 ahcp: remove the proto handler script, it seems to be completely useless git-svn-id: svn://svn.openwrt.org/openwrt/packages@31728 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/ipv6/ahcpd/Makefile b/ipv6/ahcpd/Makefile index 4d41bdf1f..41db0d8e2 100644 --- a/ipv6/ahcpd/Makefile +++ b/ipv6/ahcpd/Makefile @@ -46,8 +46,6 @@ define Package/ahcpd/install $(INSTALL_BIN) $(PKG_BUILD_DIR)/ahcpd $(1)/usr/sbin/ $(INSTALL_DIR) $(1)/etc/config $(INSTALL_CONF) ./files/ahcpd.config $(1)/etc/config/ahcpd - $(INSTALL_DIR) $(1)/lib/network - $(INSTALL_BIN) ./files/ahcp.sh $(1)/lib/network/ $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/ahcpd.init $(1)/etc/init.d/ahcpd endef diff --git a/ipv6/ahcpd/files/ahcp.sh b/ipv6/ahcpd/files/ahcp.sh deleted file mode 100644 index 11788e29f..000000000 --- a/ipv6/ahcpd/files/ahcp.sh +++ /dev/null @@ -1,14 +0,0 @@ -setup_interface_ahcp() { - local interface="$1" - local config="$2" - - setup_interface_none "$interface" "$config" - - local mode=$(uci_get_state ahcpd "@ahcpd[0]" mode "client") - if [ "$mode" != "client" ]; then - echo "Warning: ahcp ignored for $interface (mode is $mode, should be client)." - echo "Fix ahcp mode in /etc/config/ahcpd." - else - /etc/init.d/ahcpd restart - fi -}