Module Name: src
Committed By: snj
Date: Sat Mar 28 18:57:10 UTC 2009
Modified Files:
src/usr.sbin/postinstall [netbsd-5]: postinstall
Log Message:
Correct ticket #536 to include two changes (grep -> ${GREP}) from tickets
#563 and #564 that should have been pulled up at the same time.
To generate a diff of this commit:
cvs rdiff -u -r1.76.2.10 -r1.76.2.11 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.76.2.10 src/usr.sbin/postinstall/postinstall:1.76.2.11
--- src/usr.sbin/postinstall/postinstall:1.76.2.10 Fri Mar 27 14:50:36 2009
+++ src/usr.sbin/postinstall/postinstall Sat Mar 28 18:57:10 2009
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: postinstall,v 1.76.2.10 2009/03/27 14:50:36 msaitoh Exp $
+# $NetBSD: postinstall,v 1.76.2.11 2009/03/28 18:57:10 snj Exp $
#
# Copyright (c) 2002-2008 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -667,7 +667,7 @@
{
[ -n "$1" ] || err 3 "USAGE: do_ddbonpanic fix|check"
- if grep -E '^[[:space:]]*ddb\.onpanic[[:space:]]*=[[:space:]]*[[:digit:]]+' \
+ if ${GREP} -E '^[[:space:]]*ddb\.onpanic[[:space:]]*=[[:space:]]*[[:digit:]]+' \
"${DEST_DIR}/etc/sysctl.conf" >/dev/null 2>&1
then
result=0
@@ -884,7 +884,7 @@
{
[ -n "$1" ] || err 3 "USAGE: do_nosa fix|check"
- if grep -E '^[[:space:]]*kern\.no_sa_support[[:space:]]*=[[:space:]]*[[:digit:]]+' \
+ if ${GREP} -E '^[[:space:]]*kern\.no_sa_support[[:space:]]*=[[:space:]]*[[:digit:]]+' \
"${DEST_DIR}/etc/sysctl.conf" >/dev/null 2>&1
then
result=0