mirror of https://github.com/aredn/aredn.git
bugfix: firstboot button does not function
This commit is contained in:
parent
97938b4697
commit
d188fcf980
|
@ -118,13 +118,14 @@ sub setUSBOutput()
|
|||
}
|
||||
# ----- CALLBACKS ----------
|
||||
|
||||
read_postdata({acceptfile => false});
|
||||
|
||||
if($parms{button_firstboot})
|
||||
{
|
||||
system "firstboot -y";
|
||||
reboot_page("/cgi-bin/status");
|
||||
}
|
||||
|
||||
read_postdata({acceptfile => false});
|
||||
reboot_page("/cgi-bin/status") if $parms{button_reboot};
|
||||
$node = nvram_get("node");
|
||||
|
||||
|
|
Loading…
Reference in New Issue