summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1993-12-13 08:28:03 +0000
committerdg <dg@FreeBSD.org>1993-12-13 08:28:03 +0000
commit66c9a4176ae8eb40a1fde0f3fc732cb4978d80cb (patch)
tree5f5a9941a8811bcf502ef27980133b9865d0c861 /etc/rc
parent8764bfa35874cc771ed9b455ea5aafed53746ca9 (diff)
downloadFreeBSD-src-66c9a4176ae8eb40a1fde0f3fc732cb4978d80cb.zip
FreeBSD-src-66c9a4176ae8eb40a1fde0f3fc732cb4978d80cb.tar.gz
Moved startup of portmap to be the first network daemon.
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc12
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/rc b/etc/rc
index bda3026..fc9b797 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.6 1993/11/25 13:23:46 davidg Exp $
+# $Id: rc,v 1.7 1993/11/30 16:59:27 rich Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -135,6 +135,11 @@ echo '.'
echo -n starting network daemons:
+# Portmapper should always be run, to provide RPC services for inetd.
+if [ -x /usr/sbin/portmap ]; then
+ echo -n ' portmap'; portmap
+fi
+
# $gated and $routedflags are imported from /etc/netstart.
# If $gated == YES, gated is used; otherwise routed.
# If $routedflags == NO, routed isn't run.
@@ -156,11 +161,6 @@ fi
echo -n ' printer'; lpd
-# Portmapper should always be run, to provide RPC services for inetd.
-if [ -x /usr/sbin/portmap ]; then
- echo -n ' portmap'; portmap
-fi
-
if [ X${nfs_server} = X"YES" -a -r /etc/exports ]; then
echo -n ' mountd'; mountd
echo -n ' nfsd'; nfsd -u 0,0,4 -t 0,0
OpenPOWER on IntegriCloud