Skip to content

Commit

Permalink
fixed thisnode interface for barrier breaker compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
gradyoti committed Oct 23, 2014
1 parent b8ec73e commit 3976794
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions default-files/etc/hotplug.d/iface/90-thisnode
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 3976794

Please sign in to comment.