Deleted Added
full compact
root (98184) root (103019)
1#!/bin/sh
2#
3# $NetBSD: root,v 1.2 2000/05/13 08:45:09 lukem Exp $
1#!/bin/sh
2#
3# $NetBSD: root,v 1.2 2000/05/13 08:45:09 lukem Exp $
4# $FreeBSD: head/etc/rc.d/root 98184 2002-06-13 22:14:37Z gordon $
4# $FreeBSD: head/etc/rc.d/root 103019 2002-09-06 16:18:05Z gordon $
5#
6
7# PROVIDE: root
8# REQUIRE: fsck
9# KEYWORD: FreeBSD NetBSD
10
11. /etc/rc.subr
12
13name="root"
14start_cmd="root_start"
15stop_cmd=":"
16
17root_start()
18{
5#
6
7# PROVIDE: root
8# REQUIRE: fsck
9# KEYWORD: FreeBSD NetBSD
10
11. /etc/rc.subr
12
13name="root"
14start_cmd="root_start"
15stop_cmd=":"
16
17root_start()
18{
19 case `${CMD_OSTYPE}` in
19 case ${OSTYPE} in
20 FreeBSD)
21 # root normally must be read/write, but if this is a BOOTP NFS
22 # diskless boot it does not have to be.
23 #
24 case ${root_rw_mount} in
25 [Nn][Oo] | '')
26 ;;
27 *)

--- 24 unchanged lines hidden ---
20 FreeBSD)
21 # root normally must be read/write, but if this is a BOOTP NFS
22 # diskless boot it does not have to be.
23 #
24 case ${root_rw_mount} in
25 [Nn][Oo] | '')
26 ;;
27 *)

--- 24 unchanged lines hidden ---