install /etc/dhcpcd.conf

This commit is contained in:
jnemeth 2009-05-12 01:53:07 +00:00
parent 2232f8005f
commit 363f93e8d1

View File

@ -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.
@ -716,6 +716,23 @@ do_defaults()
return ${failed}
}
#
# 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
#