Module Name:    src
Committed By:   snj
Date:           Wed May 13 00:40:04 UTC 2009

Modified Files:
        src/usr.sbin/postinstall [netbsd-5]: postinstall

Log Message:
Pull up following revision(s) (requested by jnemeth in ticket #752):
        usr.sbin/postinstall/postinstall: revision 1.95
install /etc/dhcpcd.conf


To generate a diff of this commit:
cvs rdiff -u -r1.76.2.16 -r1.76.2.17 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.16 src/usr.sbin/postinstall/postinstall:1.76.2.17
--- src/usr.sbin/postinstall/postinstall:1.76.2.16	Tue Apr  7 23:36:38 2009
+++ src/usr.sbin/postinstall/postinstall	Wed May 13 00:40:04 2009
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postinstall,v 1.76.2.16 2009/04/07 23:36:38 snj Exp $
+# $NetBSD: postinstall,v 1.76.2.17 2009/05/13 00:40:04 snj Exp $
 #
 # Copyright (c) 2002-2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -714,6 +714,23 @@
 }
 
 #
+#	dhcpcd
+#
+additem dhcpcd "dhcpcd configuration is up to date"
+do_dhcpcd()
+{
+	[ -n "$1" ] || err 3 "USAGE: do_dhcpcd fix|check"
+	op="$1"
+	failed=0
+
+	populate_dir "$op" true "${SRC_DIR}/etc" "${DEST_DIR}/etc" 644 \
+		dhcpcd.conf
+	failed=$(( ${failed} + $? ))
+
+	return ${failed}
+}
+
+#
 #	envsys
 #
 additem envsys "envsys configuration is up to date"

Reply via email to