Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc - Support dhclient and dhclient_flags rc.conf variables.
details: https://anonhg.NetBSD.org/src/rev/caea1d67a796
branches: trunk
changeset: 467432:caea1d67a796
user: mellon <mellon%NetBSD.org@localhost>
date: Wed Mar 24 19:03:10 1999 +0000
description:
- Support dhclient and dhclient_flags rc.conf variables.
- Start dhcp client if dhclient==YES.
diffstat:
etc/netstart | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 7939f2ed36c8 -r caea1d67a796 etc/netstart
--- a/etc/netstart Wed Mar 24 18:59:47 1999 +0000
+++ b/etc/netstart Wed Mar 24 19:03:10 1999 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: netstart,v 1.54 1999/03/02 23:10:17 abs Exp $
+# $NetBSD: netstart,v 1.55 1999/03/24 19:03:10 mellon Exp $
# from: @(#)netstart 8.1 (Berkeley) 7/23/93
if [ -f /etc/rc.subr ]; then
@@ -179,6 +179,11 @@
echo "."
fi
+if checkyesno dhclient; then
+ echo -n "starting dhcp client...";
+ dhclient $dhclient_flags
+fi
+
if [ -s /etc/netstart.local ]; then
. /etc/netstart.local
fi
Home |
Main Index |
Thread Index |
Old Index