diff options
author | jkh <jkh@FreeBSD.org> | 1999-02-10 18:08:16 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-02-10 18:08:16 +0000 |
commit | e57466a1c3fb2fd71576a797944c262f7e83c3c4 (patch) | |
tree | 18c9a1523b7c8c96ba0b06dd49c5664388b0e955 /etc/rc.d/resolv | |
parent | fdde373153fe0ee29cd1819aa4d38e1b20bb3565 (diff) | |
download | FreeBSD-src-e57466a1c3fb2fd71576a797944c262f7e83c3c4.zip FreeBSD-src-e57466a1c3fb2fd71576a797944c262f7e83c3c4.tar.gz |
Use /etc/defaults/rc.conf everywhere, falling back to /etc/rc.conf
as necessary (for half-assed upgrades).
Diffstat (limited to 'etc/rc.d/resolv')
-rw-r--r-- | etc/rc.d/resolv | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/rc.d/resolv b/etc/rc.d/resolv index ddd52fc..a7f0a50 100644 --- a/etc/rc.d/resolv +++ b/etc/rc.d/resolv @@ -3,9 +3,10 @@ # REQUIRE: initdiskless mountcritlocal if [ -n "$4" ]; then bpi="-i $4" - -if [ -f /etc/rc.conf ]; then - . /etc/rc.conf +if [ -f /etc/defaults/rc.conf ]; then + /sbin/mdconfig -a -t malloc -s $1 -u $3 +elif [ -f /etc/rc.conf ]; then + /sbin/mount /dev/md$3c $2 } mount_mfs -s ${var_run_sectors:=2048} -T qp120at dummy /var/run |