Module Name: src Committed By: jnemeth Date: Tue May 12 01:53:08 UTC 2009
Modified Files: src/usr.sbin/postinstall: postinstall Log Message: install /etc/dhcpcd.conf To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 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.94 src/usr.sbin/postinstall/postinstall:1.95 --- src/usr.sbin/postinstall/postinstall:1.94 Tue Apr 21 16:08:57 2009 +++ src/usr.sbin/postinstall/postinstall Tue May 12 01:53:07 2009 @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: postinstall,v 1.94 2009/04/21 16:08:57 joerg Exp $ +# $NetBSD: postinstall,v 1.95 2009/05/12 01:53:07 jnemeth Exp $ # # Copyright (c) 2002-2008 The NetBSD Foundation, Inc. # All rights reserved. @@ -717,6 +717,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"