X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Fgrml-udev-config.grml-udev.init;h=8818e143e61296404dee9c2380318b734bd12ad8;hb=be7f20b0fcb2b7961e06dcf0e2fb15e09cfd98f3;hp=8e30bf047952083e0666ea709a348964484e84db;hpb=01b4a8ed7f4654a0c5df8e11940840152dc06b0f;p=grml-udev-config.git diff --git a/debian/grml-udev-config.grml-udev.init b/debian/grml-udev-config.grml-udev.init index 8e30bf0..8818e14 100644 --- a/debian/grml-udev-config.grml-udev.init +++ b/debian/grml-udev-config.grml-udev.init @@ -81,11 +81,18 @@ case "$1" in printf 'Warning: /etc/grml/autoconfig.functions could not be read.\n'>&2 fi + # ugly workaround to get udev >=208-6 without systemd working + # without long delay during udev startup :( more details at + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754987 + if cat /sys/class/net/lo/operstate 2>/dev/null | grep -q 'down' ; then + ip link set dev lo up + fi + # support bootoption noudev and inform user how to skip # execution of udev (being bootoption noudev) if ! grep -q noudev /proc/cmdline ; then - check_for_non_interactive && \ - log_action_msg "If your system hangs now, disable udev with bootoption \"noudev\"" + check_for_non_interactive && \ + log_action_msg "If your system hangs now, disable udev with bootoption \"noudev\"" && echo else # - allow execution of initscript through FORCE=1 when booting with noudev if [ -z "$FORCE" ] ; then