diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1998-10-12 03:02:58 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1998-10-12 03:02:58 +0000 |
commit | 4fd11aadb20cc6e0f36fe5362af85ad6e0e12a9d (patch) | |
tree | 76c321ea49472e963fa48c8f621947c2ac347dbc /etc/rc | |
parent | 8a7f68071929876c841153a15e72fe8703bdcd0a (diff) |
startup code for AFS
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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 + |