]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- protect dmesg
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 7 Mar 2002 09:48:32 +0000 (09:48 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 7 Mar 2002 09:48:32 +0000 (09:48 +0000)
svn-id: @998

rc.d/rc.sysinit

index 7e67c72fc18fbf5af157a3879f32b7f3c3aed02c..af9e7c949a90bcc28bd1a96166b498d5950ff0a5 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 #
 # /etc/rc.d/rc.sysinit - run once at boot time
-# $Id: rc.sysinit,v 1.96 2002/02/21 00:08:40 gotar Exp $
+# $Id: rc.sysinit,v 1.97 2002/03/07 09:48:32 misiek Exp $
 #
 # Taken in part from Miquel van Smoorenburg's bcheckrc.
 # Changes:     Arkadiusz Mi¶kiewicz <misiek@pld.org.pl>
@@ -64,7 +64,9 @@ fi
 mount -n -o gid=17 -t proc /proc /proc
 
 # Set console loglevel
-/bin/dmesg -n $CONSOLE_LOGLEVEL
+if [ -n "$CONSOLE_LOGLEVEL" ]; then
+       /bin/dmesg -n $CONSOLE_LOGLEVEL
+fi
 
 # /dev must be also mounted before everything but only if we want use them ;-)
 if is_yes "$MOUNT_DEVFS"; then
This page took 0.04493 seconds and 4 git commands to generate.