ln -s android/sbin /
fi
+# ensure keyboard driver is loaded
+[ -n "$INSTALL" -o -n "$DEBUG" ] && modprobe atkbd
+
if [ -n "$DEBUG" ]; then
echo -e "\nType 'exit' to continue booting...\n"
debug_shell debug-found
newfs_msdos -L sdcard /dev/loop7 > /dev/tty7 2>&1
fi
if [ $? -eq 0 ]; then
- sed -i "s|\(SDCARD=\S\+\?\s*\)||; s|\(SRC=\S\+\?\s*\)|\1 SDCARD=/$sdcard|" $menulst
+ [ -n "menulst" ] && sed -i "s|\(SDCARD=\S\+\?\s*\)||; s|\(SRC=\S\+\?\s*\)|\1 SDCARD=/$sdcard|" $menulst
msg="The fake SD card is created successfully"
else
msg="Failed to create a fake SD card"