Package: udev
Version: 0.054-3
Severity: wishlist
Tags: patch

Hi,

Not sure if you saw
http://lists.debian.org/debian-user/2005/03/msg00743.html
and what your opinion on it is.

So I'll just include the patch here. As you wrote you accept patches
for a better test.

This patch makes use of the environment variables of standard init, and
if they fail or aren't present falls back to the original test.

This helps people who run their console on something different, like on
ttyS1 for example, as I do on my server.

Cheers,
 -Olaf
--- /etc/init.d/udev    2005-03-15 12:01:06.000000000 +0100
+++ udev        2005-03-16 21:29:54.545266051 +0100
@@ -93,6 +93,9 @@
 }
 
 warn_if_interactive() {
+  if [ "$RUNLEVEL" = "S" -a "$PREVLEVEL" = "N" ]; then
+    return
+  fi
   TTY=$(my_tty)
   if [ -z "$TTY" -o "$TTY" = "/dev/console" ]; then
      return

Reply via email to