summaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit5
1 files changed, 3 insertions, 2 deletions
diff --git a/rc.sysinit b/rc.sysinit
index db4a677..8cdaabf 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -31,8 +31,6 @@ mountpoint -q /dev/shm || mount -t tmpfs shm /dev/shm -o mode=1777,nosuid,nodev
# log all console messages
bootlogd -p /run/bootlogd.pid
-status 'Configuring Virtual Consoles' /usr/lib/systemd/systemd-vconsole-setup
-
if [[ ! -e /run/initramfs/root-fsck ]]; then
# remount root ro to allow for fsck later on, we remount now to
# make sure nothing can open files rw on root which would block a remount
@@ -69,6 +67,9 @@ fi
# Start/trigger UDev, load MODULES and settle UDev
udevd_modprobe sysinit
+# this must be done after udev has loaded the KMS modules
+status 'Configuring Virtual Consoles' /usr/lib/systemd/systemd-vconsole-setup
+
# bring up the loopback interface
[[ -d /sys/class/net/lo ]] &&
status "Bringing up loopback interface" ip link set up dev lo