# By Chih-Wei Huang <cwhuang@linux.org.tw>
# and Thorsten Glaser <tg@mirbsd.org>
#
-# Last updated 2015/10/05
+# Last updated 2015/10/23
#
# License: GNU Public License
# We explicitely grant the right to use the scripts
fi
# ensure keyboard driver is loaded
-[ -n "$INSTALL" -o -n "$DEBUG" ] && modprobe atkbd
+[ -n "$INSTALL" -o -n "$DEBUG" ] && busybox modprobe -a atkbd hid-apple
if [ 0$DEBUG -gt 0 ]; then
echo -e "\nType 'exit' to continue booting...\n"
# since it conflicts with Android's init
echo > /proc/sys/kernel/hotplug
+export ANDROID_ROOT=/system
+
exec ${SWITCH:-switch_root} /android /init
# avoid kernel panic