Remplacé echo par msg_log
authorgobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Sun, 15 May 2011 16:31:42 +0000 (16:31 +0000)
committergobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Sun, 15 May 2011 16:31:42 +0000 (16:31 +0000)
stage2/bootscripts/mountnetfs

index 55c48af..a0c7612 100755 (executable)
@@ -9,14 +9,14 @@ log_script_name "$0 $*"
 
 mountnetfs_start() {
     if ! grep -q "_netdev" /etc/fstab; then
-        echo "No network filesystem found in fstab"
+        msg_log "No network filesystem found in fstab"
         exit ${EXIT_CODE_WARNING}
     fi
 
     if grep -q "nfs" /etc/fstab; then
         # rpc.statd is required to mount nfs shares
         if [ ! -x /sbin/rpc.statd ]; then
-            echo "Missing rpc.statd executable"
+            msg_log "Missing rpc.statd executable"
             exit ${EXIT_CODE_WARNING}
         fi