diff --git a/files/usr/local/bin/bbhnrecoverymode b/files/usr/local/bin/bbhnrecoverymode index 57a47a2c..05b2ca6e 100755 --- a/files/usr/local/bin/bbhnrecoverymode +++ b/files/usr/local/bin/bbhnrecoverymode @@ -5,6 +5,9 @@ DHCPLANSECTION=`uci show dhcp|grep interface=lan|sed "s/dhcp.\@dhcp\[\(.*\)\].in logger "BBHN Recovery: Reseting password to BBHN default" /usr/local/bin/setpasswd hsmm +logger "BBHN Recovery: Restarting uhttpd" +/etc/init.d/uhttpd restart + if [ "$DHCPLANSECTION" != "" ] then logger "BBHN Recovery: Enable DHCP on lan interface"