summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1998-03-09 08:50:30 +0000
committerjkh <jkh@FreeBSD.org>1998-03-09 08:50:30 +0000
commitbf9a648a9b82e73883c88500486c56d8d07d21f1 (patch)
tree6a83693e1ccb1b93e23fd4e0a0ef0850c90ab125 /etc/rc.d
parent48a409bf2daf1f85a8ea93559331380ea14b8cb5 (diff)
downloadFreeBSD-src-bf9a648a9b82e73883c88500486c56d8d07d21f1.zip
FreeBSD-src-bf9a648a9b82e73883c88500486c56d8d07d21f1.tar.gz
Allow rarpd to be started from rc.conf
PR: 5457 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/netoptions6
-rw-r--r--etc/rc.d/network16
-rw-r--r--etc/rc.d/network26
-rw-r--r--etc/rc.d/network36
-rw-r--r--etc/rc.d/routing6
5 files changed, 25 insertions, 5 deletions
diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions
index 2879f16..2fbdf4f 100644
--- a/etc/rc.d/netoptions
+++ b/etc/rc.d/netoptions
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.18 1998/02/16 19:21:32 guido Exp $
+# $Id: rc.network,v 1.19 1998/02/20 14:45:06 brian Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -145,6 +145,10 @@ network_pass1() {
echo -n ' enabling ARP_PROXY_ALL: '
sysctl -w net.link.ether.inet.proxyall=1 2>&1
fi
+ if [ "X$rarpd_enable" = X"YES" ]; then
+ echo -n ' rarpd'; rarpd ${rarpd_flags}
+ fi
+
echo '.'
network_pass1_done=YES # Let future generations know we made it.
}
diff --git a/etc/rc.d/network1 b/etc/rc.d/network1
index 2879f16..2fbdf4f 100644
--- a/etc/rc.d/network1
+++ b/etc/rc.d/network1
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.18 1998/02/16 19:21:32 guido Exp $
+# $Id: rc.network,v 1.19 1998/02/20 14:45:06 brian Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -145,6 +145,10 @@ network_pass1() {
echo -n ' enabling ARP_PROXY_ALL: '
sysctl -w net.link.ether.inet.proxyall=1 2>&1
fi
+ if [ "X$rarpd_enable" = X"YES" ]; then
+ echo -n ' rarpd'; rarpd ${rarpd_flags}
+ fi
+
echo '.'
network_pass1_done=YES # Let future generations know we made it.
}
diff --git a/etc/rc.d/network2 b/etc/rc.d/network2
index 2879f16..2fbdf4f 100644
--- a/etc/rc.d/network2
+++ b/etc/rc.d/network2
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.18 1998/02/16 19:21:32 guido Exp $
+# $Id: rc.network,v 1.19 1998/02/20 14:45:06 brian Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -145,6 +145,10 @@ network_pass1() {
echo -n ' enabling ARP_PROXY_ALL: '
sysctl -w net.link.ether.inet.proxyall=1 2>&1
fi
+ if [ "X$rarpd_enable" = X"YES" ]; then
+ echo -n ' rarpd'; rarpd ${rarpd_flags}
+ fi
+
echo '.'
network_pass1_done=YES # Let future generations know we made it.
}
diff --git a/etc/rc.d/network3 b/etc/rc.d/network3
index 2879f16..2fbdf4f 100644
--- a/etc/rc.d/network3
+++ b/etc/rc.d/network3
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.18 1998/02/16 19:21:32 guido Exp $
+# $Id: rc.network,v 1.19 1998/02/20 14:45:06 brian Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -145,6 +145,10 @@ network_pass1() {
echo -n ' enabling ARP_PROXY_ALL: '
sysctl -w net.link.ether.inet.proxyall=1 2>&1
fi
+ if [ "X$rarpd_enable" = X"YES" ]; then
+ echo -n ' rarpd'; rarpd ${rarpd_flags}
+ fi
+
echo '.'
network_pass1_done=YES # Let future generations know we made it.
}
diff --git a/etc/rc.d/routing b/etc/rc.d/routing
index 2879f16..2fbdf4f 100644
--- a/etc/rc.d/routing
+++ b/etc/rc.d/routing
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.18 1998/02/16 19:21:32 guido Exp $
+# $Id: rc.network,v 1.19 1998/02/20 14:45:06 brian Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -145,6 +145,10 @@ network_pass1() {
echo -n ' enabling ARP_PROXY_ALL: '
sysctl -w net.link.ether.inet.proxyall=1 2>&1
fi
+ if [ "X$rarpd_enable" = X"YES" ]; then
+ echo -n ' rarpd'; rarpd ${rarpd_flags}
+ fi
+
echo '.'
network_pass1_done=YES # Let future generations know we made it.
}
OpenPOWER on IntegriCloud