summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1998-10-12 03:02:58 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1998-10-12 03:02:58 +0000
commit4fd11aadb20cc6e0f36fe5362af85ad6e0e12a9d (patch)
tree76c321ea49472e963fa48c8f621947c2ac347dbc /etc/rc
parent8a7f68071929876c841153a15e72fe8703bdcd0a (diff)
startup code for AFS
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc10
1 files changed, 9 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 7d42b72c767..0cb77cc0a62 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.89 1998/09/19 02:31:51 todd Exp $
+# $OpenBSD: rc,v 1.90 1998/10/12 03:02:57 art Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -220,6 +220,13 @@ if [ -d /var/crash ]; then
savecore /var/crash
fi
+if [ "X${afs}" = X"YES" -a -c ${afs_device} -a -d ${afs_mount_point} ]; then
+ echo -n 'mounting afs:'
+ mount -t afs ${afs_device} ${afs_mount_point}
+ /usr/libexec/afsd ${afsd_flags} -d ${afs_device}
+ echo ' done.'
+fi
+
if [ "X${check_quotas}" = X"YES" ]; then
echo -n 'checking quotas:'
quotacheck -a
@@ -464,3 +471,4 @@ if [ "X${xdm_flags}" != X"NO" ]; then
fi
exit 0
+