mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2025-12-12 15:48:51 +01:00
add check in start_launcher for gmenu2x
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
parent
bec57da3a3
commit
f91b499ece
@ -4,6 +4,7 @@ LOCK_FILE=/var/lock/launcher.lock
|
|||||||
PREVENT_LAUNCHER_FILE=/mnt/prevent_launcher
|
PREVENT_LAUNCHER_FILE=/mnt/prevent_launcher
|
||||||
PREVENT_LAUNCHER_FILE2=/boot/prevent_launcher
|
PREVENT_LAUNCHER_FILE2=/boot/prevent_launcher
|
||||||
QUICK_LOAD_FILE=/mnt/quick_load_cmd
|
QUICK_LOAD_FILE=/mnt/quick_load_cmd
|
||||||
|
GMENU2X_FILE=/mnt/gmenu2x
|
||||||
|
|
||||||
if [ -f ${LOCK_FILE} ]; then
|
if [ -f ${LOCK_FILE} ]; then
|
||||||
echo "${LOCK_FILE} already exists"
|
echo "${LOCK_FILE} already exists"
|
||||||
@ -35,8 +36,15 @@ while true; do
|
|||||||
echo "Found file: ${PREVENT_LAUNCHER_FILE2}, not launching launcher"
|
echo "Found file: ${PREVENT_LAUNCHER_FILE2}, not launching launcher"
|
||||||
sleep 5
|
sleep 5
|
||||||
else
|
else
|
||||||
# Launch Retrofe
|
if [ -f ${GMENU2X_FILE} ]; then
|
||||||
retrofe
|
|
||||||
|
# Launch gmenu2x
|
||||||
|
gmenu2x
|
||||||
|
else
|
||||||
|
|
||||||
|
# Launch Retrofe
|
||||||
|
retrofe
|
||||||
|
fi
|
||||||
|
|
||||||
# In case retrofe quits with errors, clear graphic VT
|
# In case retrofe quits with errors, clear graphic VT
|
||||||
termfix_all
|
termfix_all
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user