Source-Changes-HG archive

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

[src/trunk]: src/etc Add dhcrelay startup (allow only if dhcpd isn't started)



details:   https://anonhg.NetBSD.org/src/rev/8ba14f29bd8d
branches:  trunk
changeset: 467610:8ba14f29bd8d
user:      sommerfe <sommerfe%NetBSD.org@localhost>
date:      Fri Mar 26 13:10:17 1999 +0000

description:
Add dhcrelay startup (allow only if dhcpd isn't started)

diffstat:

 etc/rc      |  4 +++-
 etc/rc.conf |  3 ++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 3cb4fd2c20ca -r 8ba14f29bd8d etc/rc
--- a/etc/rc    Fri Mar 26 12:39:13 1999 +0000
+++ b/etc/rc    Fri Mar 26 13:10:17 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: rc,v 1.121 1999/03/26 01:11:45 oster Exp $
+#      $NetBSD: rc,v 1.122 1999/03/26 13:10:17 sommerfe Exp $
 #      originally from: @(#)rc 8.2 (Berkeley) 3/17/94
 
 # System startup script run by init on autoboot
@@ -428,6 +428,8 @@
                logger -s "WARNING: /etc/dhcpd.conf not readable; " \
                    "dhcpd not started."
        fi
+elif checkyesno dhcrelay; then
+       echo -n ' dhcrelay';            dhcrelay $dhcrelay_flags
 fi
 
 if checkyesno rwhod; then
diff -r 3cb4fd2c20ca -r 8ba14f29bd8d etc/rc.conf
--- a/etc/rc.conf       Fri Mar 26 12:39:13 1999 +0000
+++ b/etc/rc.conf       Fri Mar 26 13:10:17 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: rc.conf,v 1.45 1999/03/24 18:50:07 mellon Exp $
+#      $NetBSD: rc.conf,v 1.46 1999/03/26 13:10:17 sommerfe Exp $
 #
 # see rc.conf(5) for more information.
 
@@ -83,6 +83,7 @@
 rarpd=NO               rarpd_flags="-a"
 bootparamd=NO          bootparamd_flags=""
 dhcpd=NO               dhcpd_flags="-q"
+dhcrelay=NO            dhcrelay_flags=""
 rbootd=NO              rbootd_flags=""
 mopd=NO                        mopd_flags="-a"
 



Home | Main Index | Thread Index | Old Index