From 5befc784660c573c648827996e38dfe93acc31ad Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 9 Dec 2014 23:55:01 +0100 Subject: preinit: move bootmodules *before* INITSHELL Otherwise we cannot take over using a USB keyboard if it uses modules. --- .preinit | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.preinit b/.preinit index 04868bb..d1b5548 100644 --- a/.preinit +++ b/.preinit @@ -71,10 +71,12 @@ ex /sbin/fix-date ex /sbin/depmod -a ex /bin/sh -c "/bin/mount -n -o remount,ro /boot/ 2>/dev/null" +# needed for USB keyboards +ex /sbin/bootmodules + te INITSHELL=1 &rd "You have requested this prompt by appending INITSHELL=1 to the kernel cmd line." -ex /sbin/bootmodules ex /sbin/restore-etc |ec "Could not find flash file system with a valid configuration." -- 1.7.12.1