mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-30 18:27:53 +00:00
We need to kill java after it finds that there is an update to the GUI.
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
This commit is contained in:
@@ -126,7 +126,6 @@ sudo rm -f /tmp/*.txt
|
|||||||
sudo rm -f $GUILog $GUIUpdate $CTLGUI $CTLH $ST
|
sudo rm -f $GUILog $GUIUpdate $CTLGUI $CTLH $ST
|
||||||
|
|
||||||
touch "$NO_AUTO"
|
touch "$NO_AUTO"
|
||||||
pgrep java &>/dev/null && killall -9 java
|
|
||||||
touch $GUIUpdate
|
touch $GUIUpdate
|
||||||
touch $ST
|
touch $ST
|
||||||
if [ ! -z "$SKIP_INSTALL" ] && [ x$SKIP_INSTALL = x1 ]; then
|
if [ ! -z "$SKIP_INSTALL" ] && [ x$SKIP_INSTALL = x1 ]; then
|
||||||
@@ -150,6 +149,7 @@ else
|
|||||||
fi
|
fi
|
||||||
sleep 1
|
sleep 1
|
||||||
rm -f "$NO_AUTO"
|
rm -f "$NO_AUTO"
|
||||||
|
pgrep java &>/dev/null && killall -9 java
|
||||||
start_gui
|
start_gui
|
||||||
echo "Doing connectTest.py > $CTLGUI"
|
echo "Doing connectTest.py > $CTLGUI"
|
||||||
python3 ${scripts}/connectTest.py &> $CTLGUI
|
python3 ${scripts}/connectTest.py &> $CTLGUI
|
||||||
|
|||||||
Reference in New Issue
Block a user