mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2026-03-19 02:12:41 +01:00
gmenu2x: no clock and menu that switches to retrofe, Retrofe: clock and menu that switches to gmenu2x
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# Busybox version: 1.31.1
|
||||
# Mon Nov 9 00:34:05 2020
|
||||
# Tue Nov 24 08:37:01 2020
|
||||
#
|
||||
CONFIG_HAVE_DOT_CONFIG=y
|
||||
|
||||
|
||||
24
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/set_launcher
Executable file
24
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/set_launcher
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Check number of args
|
||||
if [ ${#} -ne 1 ]; then
|
||||
echo "Usage: $(basename ${0}) launcher"
|
||||
echo " launcher: retrofe, gmenu2x"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check Launcher
|
||||
LAUNCHER=${1}
|
||||
if [ ${LAUNCHER} == "gmenu2x" ]; then
|
||||
echo "Setting default launcher: gmenu2x"
|
||||
touch /mnt/gmenu2x
|
||||
elif [ ${LAUNCHER} == "retrofe" ]; then
|
||||
echo "Setting default launcher: retrofe"
|
||||
rm -rf /mnt/gmenu2x
|
||||
else
|
||||
echo "Usage: $(basename ${0}) launcher"
|
||||
echo " launcher: retrofe, gmenu2x"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user