debian: refresh debian packaging to use current best practices
[grml-udev-config.git] / debian / grml-udev-config.grml-udev.init
index 8e30bf0..fdd3c57 100644 (file)
@@ -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,8 +84,8 @@ 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_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