mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2026-03-26 05:42:40 +01:00
fixed little regression when handling previous prevent_launcher file
This commit is contained in:
@@ -21,7 +21,7 @@ fi
|
|||||||
|
|
||||||
# Convert old prevent launcher file to new frontend disable file
|
# Convert old prevent launcher file to new frontend disable file
|
||||||
if [ -f "${PREVENT_LAUNCHER_FILE}" ]; then
|
if [ -f "${PREVENT_LAUNCHER_FILE}" ]; then
|
||||||
mv "${PREVENT_LAUNCHER_FILE}" "{DISABLE_FRONTEND_FILE}"
|
mv "${PREVENT_LAUNCHER_FILE}" "${DISABLE_FRONTEND_FILE}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
@@ -71,7 +71,7 @@ init_frontend() {
|
|||||||
while true; do
|
while true; do
|
||||||
|
|
||||||
# Check if frontend disable file is present
|
# Check if frontend disable file is present
|
||||||
if [ -f "${DISBALE_FRONTEND_FILE}" ]; then
|
if [ -f "${DISABLE_FRONTEND_FILE}" ]; then
|
||||||
echo "${DISABLE_FRONTEND_FILE} file found, not starting frontend"
|
echo "${DISABLE_FRONTEND_FILE} file found, not starting frontend"
|
||||||
sleep 5
|
sleep 5
|
||||||
else
|
else
|
||||||
@@ -80,6 +80,7 @@ init_frontend() {
|
|||||||
umount /opk >/dev/null 2>&1
|
umount /opk >/dev/null 2>&1
|
||||||
rm -f "${LAST_OPK_FILE}"
|
rm -f "${LAST_OPK_FILE}"
|
||||||
|
|
||||||
|
# Launch selected frontend
|
||||||
local frontend="$(get_frontend)"
|
local frontend="$(get_frontend)"
|
||||||
case "${frontend}" in
|
case "${frontend}" in
|
||||||
gmenu2x|retrofe)
|
gmenu2x|retrofe)
|
||||||
|
|||||||
Reference in New Issue
Block a user