bootable/newinstaller
Revisão | b7ac03c640b74860fa7992f6c0cf492506b72224 (tree) |
---|---|
Hora | 2018-10-17 18:52:04 |
Autor | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
init: load atkbd hid-apple modules anyway
Though auto_detect could load these modules, it may take several
seconds. The user experience is not good.
Load the modules anyway no matter it's detected or not.
@@ -194,7 +194,10 @@ for s in `ls /scripts/* /src/scripts/*`; do | ||
194 | 194 | done |
195 | 195 | |
196 | 196 | # ensure keyboard driver is loaded |
197 | -[ -n "$INSTALL" -o -n "$DEBUG" ] && auto_detect & | |
197 | +if [ -n "$INSTALL" -o -n "$DEBUG" ]; then | |
198 | + busybox modprobe -a atkbd hid-apple | |
199 | + auto_detect & | |
200 | +fi | |
198 | 201 | |
199 | 202 | if [ 0$DEBUG -gt 0 ]; then |
200 | 203 | echo -e "\nType 'exit' to continue booting...\n" |