Wait 5 seconds before rebooting so the web UI can finish loading before being unreachable due to the reboot
This commit is contained in:
parent
bc91716082
commit
b8d2bfc890
|
@ -93,7 +93,7 @@ SetExcludeClients(){
|
|||
|
||||
Reboot(){
|
||||
|
||||
reboot
|
||||
nohup bash -c "sleep 5; reboot" &> /dev/null </dev/null &
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue