-Passage à udev-182 et à /dev intégré au kernel.
[hvlinux.git] / stage1 / bootscripts / functions
index f0eef13..4056f1a 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # General shell functions
 
@@ -449,7 +449,7 @@ reloadproc()
 
        if [ ${?} -ne 0 ]; then
            sleep 2
-           if statusproc ${base} | grep "not running" 1> /dev/null 2>&1; then
+           if statusproc ${base} | grep -q "not running"; then
                return ${EXIT_CODE_FAILURE}
            fi
        fi