diff options
author | gordon <gordon@FreeBSD.org> | 2002-07-18 05:00:17 +0000 |
---|---|---|
committer | gordon <gordon@FreeBSD.org> | 2002-07-18 05:00:17 +0000 |
commit | 259601fa05ee9132dd014304b820ec38b47a67e4 (patch) | |
tree | 375610a72b2ea83aa73c7881302e5615e9cb7552 /etc/rc.d/diskless | |
parent | c8703a911ad83b0f513197689a88ec949871f7ea (diff) | |
download | FreeBSD-src-259601fa05ee9132dd014304b820ec38b47a67e4.zip FreeBSD-src-259601fa05ee9132dd014304b820ec38b47a67e4.tar.gz |
Merge in all the changes that Mike Makonnen has been maintaining for a
while. This is only the script pieces, the glue for the build comes next.
Submitted by: Mike Makonnen <makonnen@pacbell.net>
Reviewed by: silence on -current and -hackers
Prodded by: rwatson
Diffstat (limited to 'etc/rc.d/diskless')
-rw-r--r-- | etc/rc.d/diskless | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/etc/rc.d/diskless b/etc/rc.d/diskless index b897d44..fc851316 100644 --- a/etc/rc.d/diskless +++ b/etc/rc.d/diskless @@ -22,7 +22,7 @@ # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -# $FreeBSD$ +# SUCH DAMAGE. # # $FreeBSD$ # @@ -60,6 +60,13 @@ mount_md() if [ -r /etc/rc.subr ]; then . /etc/rc.subr load_rc_config $name +elif [ -r /etc/defaults/rc.conf ]; then + . /etc/defaults/rc.conf + source_rc_confs +elif [ -r /etc/rc.conf ]; then + . /etc/rc.conf +fi + echo "+++ mount_md of /var" mount_md ${varsize:=32m} /var 1 |