mirror of https://github.com/aredn/aredn.git
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:
parent
fb91eadfef
commit
f5a9861700
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue