From 3976794a14d0deb242f32b2137653de2648598a4 Mon Sep 17 00:00:00 2001 From: Grady Johnson Date: Thu, 23 Oct 2014 17:21:36 -0400 Subject: [PATCH] fixed thisnode interface for barrier breaker compatibility --- default-files/etc/hotplug.d/iface/90-thisnode | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/default-files/etc/hotplug.d/iface/90-thisnode b/default-files/etc/hotplug.d/iface/90-thisnode index ae49e4a..145d192 100644 --- a/default-files/etc/hotplug.d/iface/90-thisnode +++ b/default-files/etc/hotplug.d/iface/90-thisnode @@ -29,7 +29,7 @@ if [ "$ACTION" == "ifup" -a "$INTERFACE" == "lan" ]; then else logger -t commotion.hotplug.thisnode -s "No entry found. Creating UCI entry for '$ALIAS' alias" uci set network.$ALIAS=alias - uci set network.$ALIAS.interface=lan + uci set network.$ALIAS.interface=br-lan uci set network.$ALIAS.proto=static uci set network.$ALIAS.ipaddr=$localip @@ -39,8 +39,6 @@ if [ "$ACTION" == "ifup" -a "$INTERFACE" == "lan" ]; then uci commit network /etc/init.d/network reload fi - #NOTE: this method of configuring aliases is deprecated in more recent versions of openwrt - kill -s HUP `pgrep dnsmasq` fi