Module Name:    src
Committed By:   martin
Date:           Fri Dec 13 07:37:50 UTC 2013

Modified Files:
        src/usr.sbin/postinstall: postinstall

Log Message:
Cosmetics: use "msg" instead of "echo"


To generate a diff of this commit:
cvs rdiff -u -r1.159 -r1.160 src/usr.sbin/postinstall/postinstall

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/postinstall/postinstall
diff -u src/usr.sbin/postinstall/postinstall:1.159 src/usr.sbin/postinstall/postinstall:1.160
--- src/usr.sbin/postinstall/postinstall:1.159	Thu Dec  5 15:41:23 2013
+++ src/usr.sbin/postinstall/postinstall	Fri Dec 13 07:37:50 2013
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postinstall,v 1.159 2013/12/05 15:41:23 martin Exp $
+# $NetBSD: postinstall,v 1.160 2013/12/13 07:37:50 martin Exp $
 #
 # Copyright (c) 2002-2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1851,11 +1851,11 @@ do_varshm()
 	else
 		if [ "${op}" = "check" ]; then
 			failed=1
-			echo "No /var/shm mount found in ${DEST_DIR}/etc/fstab"
+			msg "No /var/shm mount found in ${DEST_DIR}/etc/fstab"
 		elif [ "${op}" = "fix" ]; then
 			printf '\ntmpfs\t/var/shm\ttmpfs\trw,-m1777,-sram%%25\n' \
 				>> "${DEST_DIR}/etc/fstab"
-			echo "Added tmpfs with 25% ram limit as /var/shm"
+			msg "Added tmpfs with 25% ram limit as /var/shm"
 
 		fi
 	fi

Reply via email to