misc tidy

This commit is contained in:
Shaun Inman 2023-01-13 20:09:19 -05:00
parent 90288872ca
commit f54a830f46
2 changed files with 4 additions and 4 deletions

View file

@ -28,7 +28,7 @@ fi
ROOTFS_IMAGE=$SYSTEM_PATH/rootfs.img ROOTFS_IMAGE=$SYSTEM_PATH/rootfs.img
if [ ! -f $ROOTFS_IMAGE ]; then if [ ! -f $ROOTFS_IMAGE ]; then
# fallback to stock demenu.bin # fallback to stock demenu.bin
# TODO: embed dmenu_ln here # TODO: embed dmenu_ln loop here
/mnt/vendor/bin/dmenu.bin /mnt/vendor/bin/dmenu.bin
# reboot -p # reboot -p
exit exit
@ -42,7 +42,7 @@ mount -r -w -o loop -t ext4 $LOOPDEVICE $ROOTFS_MOUNTPOINT
rm -rf $ROOTFS_MOUNTPOINT/tmp/* rm -rf $ROOTFS_MOUNTPOINT/tmp/*
mkdir $ROOTFS_MOUNTPOINT/mnt/mmc mkdir $ROOTFS_MOUNTPOINT/mnt/mmc
mkdir $ROOTFS_MOUNTPOINT/mnt/sdcard mkdir $ROOTFS_MOUNTPOINT/mnt/sdcard
for f in dev dev/pts proc sys run mnt/mmc mnt/sdcard for f in dev dev/pts proc sys mnt/mmc mnt/sdcard # tmp doesn't work for some reason?
do do
mount -o bind /$f $ROOTFS_MOUNTPOINT/$f mount -o bind /$f $ROOTFS_MOUNTPOINT/$f
done done

View file

@ -19,7 +19,7 @@ CPU_PATH="/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
cd $(dirname "$0") cd $(dirname "$0")
keymon.elf & keymon.elf & # &> /mnt/sdcard/keymon.txt &
./batmon.sh & ./batmon.sh &
@ -48,4 +48,4 @@ while [ -f "$EXEC_PATH" ]; do
# echo `date +'%F %T'` > "$DATETIME_PATH" # echo `date +'%F %T'` > "$DATETIME_PATH"
sync sync
fi fi
done done