[FreeBSD-rc] Re: RFC: Removal of the old rc system from
-current
Mike Makonnen
mtm at identd.net
Mon Apr 28 14:42:38 PDT 2003
> ...
> > We should have functionality equivalent to it by 5.2. I don't think that it
> > should be a requirement to meet before removing rcOG, though.
>
> I have to strongly disagree. I use 'netstart' too often on my main
> development machines to be with out for any amount of time.
This should tide you over.
Please test, make appropriate changes and commit.
Cheers.
--
Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm at identd.net | D228 1A6F C64E 120A A1C9 A3AA DAE1 E2AF DBCC 68B9
mtm at FreeBSD.Org| FreeBSD - The Power To Serve
Index: etc/netstart
===================================================================
RCS file: /home/ncvs/src/etc/netstart,v
retrieving revision 1.60
diff -u -r1.60 netstart
--- etc/netstart 18 May 2001 09:14:39 -0000 1.60
+++ etc/netstart 28 Apr 2003 21:37:30 -0000
@@ -34,6 +34,36 @@
# the network by hand, this script will do it for you).
#
+. /etc/rc.subr
+
+load_rc_config 'XXX'
+/etc/rc.d/pccard start
+/etc/rc.d/hostname start
+/etc/rc.d/ipmon start
+/etc/rc.d/ipfilter start
+/etc/rc.d/ipnat start
+/etc/rc.d/ipfs start
+/etc/rc.d/sppp start
+/etc/rc.d/atm1.sh start
+/etc/rc.d/atm2.sh start
+/etc/rc.d/atm3.sh start
+/etc/rc.d/netif start
+/etc/rc.d/ipsec start
+/etc/rc.d/dhclient start
+/etc/rc.d/isdnd start
+/etc/rc.d/ppp-user start
+/etc/rc.d/ipfw start
+/etc/rc.d/network2 start
+/etc/rc.d/ip6fw start
+/etc/rc.d/network_ipv6 start
+/etc/rc.d/mroute6d start
+/etc/rc.d/route6d start
+/etc/rc.d/mrouted start
+/etc/rc.d/routed start
+/etc/rc.d/nisdomain start
+
+exit 0
+
# If there is a global system configuration file, suck it in.
if [ -f /etc/defaults/rc.conf ]; then
. /etc/defaults/rc.conf
More information about the freebsd-arch
mailing list