summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authorjfitz <jfitz@FreeBSD.org>1999-03-11 16:17:24 +0000
committerjfitz <jfitz@FreeBSD.org>1999-03-11 16:17:24 +0000
commit1a5c7969f45e00a64debc5e437a5ada62d051e0b (patch)
tree6731f8a0a1d6a833630fcf9f27f5436a44b91fd9 /etc/rc.d
parenta633f105291cf608175cecd993dc1035a92b6f20 (diff)
downloadFreeBSD-src-1a5c7969f45e00a64debc5e437a5ada62d051e0b.zip
FreeBSD-src-1a5c7969f45e00a64debc5e437a5ada62d051e0b.tar.gz
Add ${lpd_program} and ${portmap_program} as variables in rc.conf, with
suitable defaults pointing to the FreeBSD-shipped versions. This will allow for easier integration of third-party replacements for these daemons. Reviewed by: Several members of -committers
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/netoptions4
-rw-r--r--etc/rc.d/network14
-rw-r--r--etc/rc.d/network24
-rw-r--r--etc/rc.d/network34
-rw-r--r--etc/rc.d/routing4
5 files changed, 10 insertions, 10 deletions
diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions
index 49e936a..e54589f 100644
--- a/etc/rc.d/netoptions
+++ b/etc/rc.d/netoptions
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.38 1999/01/13 08:20:55 hm Exp $
+# $Id: rc.network,v 1.39 1999/01/13 17:32:37 joerg Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -211,7 +211,7 @@ network_pass2() {
fi
if [ "X${portmap_enable}" = X"YES" ]; then
- echo -n ' portmap'; portmap ${portmap_flags}
+ echo -n ' portmap'; ${portmap_program} ${portmap_flags}
fi
# Start ypserv if we're an NIS server.
diff --git a/etc/rc.d/network1 b/etc/rc.d/network1
index 49e936a..e54589f 100644
--- a/etc/rc.d/network1
+++ b/etc/rc.d/network1
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.38 1999/01/13 08:20:55 hm Exp $
+# $Id: rc.network,v 1.39 1999/01/13 17:32:37 joerg Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -211,7 +211,7 @@ network_pass2() {
fi
if [ "X${portmap_enable}" = X"YES" ]; then
- echo -n ' portmap'; portmap ${portmap_flags}
+ echo -n ' portmap'; ${portmap_program} ${portmap_flags}
fi
# Start ypserv if we're an NIS server.
diff --git a/etc/rc.d/network2 b/etc/rc.d/network2
index 49e936a..e54589f 100644
--- a/etc/rc.d/network2
+++ b/etc/rc.d/network2
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.38 1999/01/13 08:20:55 hm Exp $
+# $Id: rc.network,v 1.39 1999/01/13 17:32:37 joerg Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -211,7 +211,7 @@ network_pass2() {
fi
if [ "X${portmap_enable}" = X"YES" ]; then
- echo -n ' portmap'; portmap ${portmap_flags}
+ echo -n ' portmap'; ${portmap_program} ${portmap_flags}
fi
# Start ypserv if we're an NIS server.
diff --git a/etc/rc.d/network3 b/etc/rc.d/network3
index 49e936a..e54589f 100644
--- a/etc/rc.d/network3
+++ b/etc/rc.d/network3
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.38 1999/01/13 08:20:55 hm Exp $
+# $Id: rc.network,v 1.39 1999/01/13 17:32:37 joerg Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -211,7 +211,7 @@ network_pass2() {
fi
if [ "X${portmap_enable}" = X"YES" ]; then
- echo -n ' portmap'; portmap ${portmap_flags}
+ echo -n ' portmap'; ${portmap_program} ${portmap_flags}
fi
# Start ypserv if we're an NIS server.
diff --git a/etc/rc.d/routing b/etc/rc.d/routing
index 49e936a..e54589f 100644
--- a/etc/rc.d/routing
+++ b/etc/rc.d/routing
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.38 1999/01/13 08:20:55 hm Exp $
+# $Id: rc.network,v 1.39 1999/01/13 17:32:37 joerg Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -211,7 +211,7 @@ network_pass2() {
fi
if [ "X${portmap_enable}" = X"YES" ]; then
- echo -n ' portmap'; portmap ${portmap_flags}
+ echo -n ' portmap'; ${portmap_program} ${portmap_flags}
fi
# Start ypserv if we're an NIS server.
OpenPOWER on IntegriCloud