Bring back /etc/netstart for those who are sitting in single user and
wish only to bring up their interfaces. This script is not actually called by any other script and exists purely for user convenience. Requested by: pst
This commit is contained in:
parent
655d6f9bfa
commit
51bd962f04
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25895
22
etc/netstart
Executable file
22
etc/netstart
Executable file
@ -0,0 +1,22 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: netstart,v 1.45.2.1 1996/11/06 09:22:16 phk Exp $
|
||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||
|
||||
# If there is a global system configuration file, suck it in.
|
||||
if [ -f /etc/rc.conf ]; then
|
||||
. /etc/rc.conf
|
||||
fi
|
||||
|
||||
if [ -f /etc/rc.network ]; then
|
||||
. /etc/rc.network
|
||||
else
|
||||
echo "Sorry, I can't find /etc/rc.network - aborting."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 'Doing stage one network startup:'
|
||||
network_pass1
|
||||
echo 'Doing stage two network startup:'
|
||||
network_pass2
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user