add check in start_launcher for gmenu2x
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
parent
9c694e7d25
commit
5a3fd024dc
|
@ -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…
Reference in New Issue