Source-Changes-HG archive

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

[src/netbsd-1-6]: src/usr.sbin/etcupdate Pull up revision 1.10 (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/1ce5208132c2
branches:  netbsd-1-6
changeset: 530210:1ce5208132c2
user:      tron <tron%NetBSD.org@localhost>
date:      Mon Apr 28 06:30:45 2003 +0000

description:
Pull up revision 1.10 (requested by martti in ticket #1146):
Use md5 instead of sum (bin/20196).

diffstat:

 usr.sbin/etcupdate/etcupdate |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 842a911911ce -r 1ce5208132c2 usr.sbin/etcupdate/etcupdate
--- a/usr.sbin/etcupdate/etcupdate      Mon Apr 28 06:27:19 2003 +0000
+++ b/usr.sbin/etcupdate/etcupdate      Mon Apr 28 06:30:45 2003 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: etcupdate,v 1.3.2.5 2003/01/27 06:44:39 jmc Exp $
+# $NetBSD: etcupdate,v 1.3.2.6 2003/04/28 06:30:45 tron Exp $
 #
 # Copyright (c) 2001 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -164,7 +164,7 @@
        fi
 
        if [ "${AUTOMATIC}" = "YES" -a -f "/etc/etcupdate/${1}"  ] ; then
-               SUM1=`sum "${1}"`
+               SUM1=`md5 "${1}"`
                SUM2=`cat "/etc/etcupdate/${1}"`
                if [ "${SUM1}" = "${SUM2}" ] ; then
                        install_file "${1}"



Home | Main Index | Thread Index | Old Index