From f5a9861700111e3cbbb3ed41a430bf1b6b786bea Mon Sep 17 00:00:00 2001 From: Conrad Lara - KG6JEI Date: Mon, 15 Sep 2014 16:56:41 -0700 Subject: [PATCH] bugfix: bbhnrecoverymode uhttpd needs to be restarted. uhttpd may not pick up new passwords unless it is restarted after the change. --- files/usr/local/bin/bbhnrecoverymode | 3 +++ 1 file changed, 3 insertions(+) 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"