bugfix: bbhnrecoverymode uhttpd needs to be restarted.

uhttpd may not pick up new passwords unless it is restarted after the change.
This commit is contained in:
Conrad Lara - KG6JEI 2014-09-15 16:56:41 -07:00
parent fb91eadfef
commit f5a9861700
1 changed files with 3 additions and 0 deletions

View File

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