mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
Added command to resume GUI after killing proc
This commit is contained in:
@@ -20,6 +20,8 @@ grep -q "Current GUI version up to date" $GUIUpdate && exit
|
|||||||
grep -q -i "fail" $GUIUpdate && exit
|
grep -q -i "fail" $GUIUpdate && exit
|
||||||
rm "${HL}/LANforgeGUI_${verNum}/NO_AUTOSTART"
|
rm "${HL}/LANforgeGUI_${verNum}/NO_AUTOSTART"
|
||||||
|
|
||||||
|
nohup env RESTARTS=999999 ./lfclient.bash -s localhost &> $GUILog
|
||||||
|
|
||||||
python3 ${scripts}/connectTest.py &> $CTLGUI
|
python3 ${scripts}/connectTest.py &> $CTLGUI
|
||||||
sleep 1
|
sleep 1
|
||||||
killall -9 java
|
killall -9 java
|
||||||
@@ -35,4 +37,4 @@ rm "${HL}/LANforgeGUI_${verNum}/DAEMON_MODE"
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo "Logs Attached" | mail -s 'GUI Update Logs' -a $GUIUpdate -a $CTLGUI -a $CTLH "test.notice@candelatech.com"
|
echo "Logs Attached" | mail -s 'GUI Update Logs' -a $GUILog -a $GUIUpdate -a $CTLGUI -a $CTLH "test.notice@candelatech.com"
|
||||||
|
|||||||
Reference in New Issue
Block a user