Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/postinstall Cosmetics: use "msg" instead of "echo"



details:   https://anonhg.NetBSD.org/src/rev/c68d0b951ef3
branches:  trunk
changeset: 325218:c68d0b951ef3
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Dec 13 07:37:50 2013 +0000

description:
Cosmetics: use "msg" instead of "echo"

diffstat:

 usr.sbin/postinstall/postinstall |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 2457ad8c1e70 -r c68d0b951ef3 usr.sbin/postinstall/postinstall
--- a/usr.sbin/postinstall/postinstall  Fri Dec 13 07:14:13 2013 +0000
+++ b/usr.sbin/postinstall/postinstall  Fri Dec 13 07:37:50 2013 +0000
@@ -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 @@
        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



Home | Main Index | Thread Index | Old Index