debian: Work around warning in Debian udev init script.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 10 Dec 2010 17:19:02 +0000 (17:19 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 10 Dec 2010 17:19:02 +0000 (17:19 +0000)
See also:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606622

appliance/init

index d7fe24e..4a9476d 100755 (executable)
@@ -5,6 +5,11 @@ echo Starting /init script ...
 PATH=/sbin:/usr/sbin:/bin:/usr/bin
 export PATH
 
+# Debian bug 606622.
+RUNLEVEL=S
+PREVLEVEL=N
+export RUNLEVEL PREVLEVEL
+
 mkdir -p /sysroot
 
 rm -f /proc; mkdir /proc