Remplacé echo par msg_log
[hvlinux.git] / 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