X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=initscripts%2Fpl_sysinit;fp=initscripts%2Fpl_sysinit;h=492cc734d85ed3a25e497e426d14018e0b67bb41;hb=ed5ce94453595611f867aa26801094938cc690bd;hp=630b9f09645adcb29e852037d5b3d97b1d01440a;hpb=5c7527aa84590ea6b852d4cb1e3be0899351387c;p=bootcd.git diff --git a/initscripts/pl_sysinit b/initscripts/pl_sysinit index 630b9f0..492cc73 100755 --- a/initscripts/pl_sysinit +++ b/initscripts/pl_sysinit @@ -15,11 +15,16 @@ verbose-message "pl_sysinit: bringing system online" verbose-message "pl_sysinit: mounting file systems" verbose-run /bin/mount -v -a +# on old systems that use init, we totally take control and replace +# /etc/inittab with just our stuff, so nothing is going to run udev +# for us and we need to start it ourselves if [ -x /sbin/start_udev ]; then verbose-message "pl_sysinit: starting udev daemon" verbose-run /sbin/start_udev else - verbose-message "pl_sysinit: WARNING cannot start udev daemon - /sbin/start_udev NOT FOUND" + # on systemd-based systems, udev is triggered by systemd + # but just in case we issue a warning + verbose-message "pl_sysinit: WARNING cannot start udev daemon (probably safe under systemd)" fi verbose-message "pl_sysinit: invoking hardware initialization script"