diff --git a/src/etc/rc b/src/etc/rc index 83dbca4d..5013d898 100644 --- a/src/etc/rc +++ b/src/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.232 2004/01/23 22:11:40 deraadt Exp $ +# $OpenBSD: rc,v 1.233 2004/02/11 23:17:32 beck Exp $ # System startup script run by init on autoboot # or after single-user. @@ -306,10 +306,11 @@ if [ -d /var/crash ]; then savecore ${savecore_flags} /var/crash fi -if [ "X${afs}" = X"YES" -a -c ${afs_device} -a -d ${afs_mount_point} ]; then +if [ "X${afs}" = X"YES" -a -c /dev/xfs0 ]; then echo -n 'mounting afs:' - mount -t xfs ${afs_device} ${afs_mount_point} - /usr/libexec/afsd ${afsd_flags} -d ${afs_device} + mkdir -p -m 0755 /afs + mount -t xfs /dev/xfs0 /afs + /usr/libexec/afsd ${afsd_flags} echo ' done.' fi diff --git a/src/etc/rc.conf b/src/etc/rc.conf index fab993fb..f87d854f 100644 --- a/src/etc/rc.conf +++ b/src/etc/rc.conf @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: rc.conf,v 1.92 2004/01/23 22:11:40 deraadt Exp $ +# $OpenBSD: rc.conf,v 1.93 2004/02/11 23:17:33 beck Exp $ # set these to "NO" to turn them off. otherwise, they're used as flags routed_flags=NO # for normal use: "-q" @@ -78,9 +78,7 @@ amd_master=/etc/amd/master # AMD 'master' map syslogd_flags= # add more flags, ie. "-u -a /chroot/dev/log" pf_rules=/etc/pf.conf # Packet filter rules file pflogd_flags= # add more flags, ie. "-s 256" -afs_mount_point=/afs # Mountpoint for AFS -afs_device=/dev/xfs0 # Device used by afsd -afsd_flags=-z # Flags passed to afsd +afsd_flags= # Flags passed to afsd shlib_dirs= # extra directories for ldconfig, separated # by space