X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Fgrml-udev-config.grml-udev.init;h=fdd3c572a7d43181ddc188736340e5e0c1099526;hb=be20003e82f67084b855e1fa74ce3075ba89fc25;hp=56b4a5a5308b49bb2b20355004fd6c950a2d318d;hpb=a208bbbf0f6564e8c83083028f1edd06d0f38274;p=grml-udev-config.git diff --git a/debian/grml-udev-config.grml-udev.init b/debian/grml-udev-config.grml-udev.init index 56b4a5a..fdd3c57 100644 --- a/debian/grml-udev-config.grml-udev.init +++ b/debian/grml-udev-config.grml-udev.init @@ -44,7 +44,7 @@ udev_exec() { # test whether udev is enabled in init's configuration udev_active() { # file-rc: - if [ -r /etc/runlevel.conf ] && egrep -q '^[0-9]+.*-.*-.*\/etc\/init.d\/ydev$' /etc/runlevel.conf ; then + if [ -r /etc/runlevel.conf ] && egrep -q '^[0-9]+.*-.*-.*\/etc\/init.d\/udev$' /etc/runlevel.conf ; then return 0 fi @@ -84,12 +84,12 @@ case "$1" in # 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_warning_msg "If your system hangs now skip execution of udev via 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 - log_failure_msg "Bootoption noudev found. Skipping execution of udev init script." + log_failure_msg "Bootoption \"noudev\" found. Skipping execution of udev init script." if ! check_for_non_interactive ; then printf "\nIt has been detected that the udev init script\n" printf "has been run from an interactive shell.\n"