From 3abe94d5802bb5cda3b952d44d8d902c58777636 Mon Sep 17 00:00:00 2001 From: downsj <> Date: Thu, 31 Jul 1997 02:23:46 +0000 Subject: [PATCH] Make quotas optional; wedged into netstart for the time being. /etc/rc.conf, anyone? --- src/etc/netstart | 3 ++- src/etc/rc | 12 +++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/etc/netstart b/src/etc/netstart index 654e99fe..fb08c712 100644 --- a/src/etc/netstart +++ b/src/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.25 1997/07/30 21:35:15 deraadt Exp $ +# $OpenBSD: netstart,v 1.26 1997/07/31 02:23:46 downsj Exp $ # set these to "NO" to turn them off. otherwise, they're used as flags routed_flags=NO # for 'normal' use: routed_flags=-q @@ -25,6 +25,7 @@ nat=NO portmap=YES # almost always needed inetd=YES # almost always needed lpd=NO # printing daemons +check_quotas=YES # NO may be desireable in some YP environments # miscellaneous other flags # only used if the appropriate server is marked YES above diff --git a/src/etc/rc b/src/etc/rc index 4b311de9..d1012243 100644 --- a/src/etc/rc +++ b/src/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.40 1997/07/25 00:06:02 provos Exp $ +# $OpenBSD: rc,v 1.41 1997/07/31 02:23:45 downsj Exp $ # System startup script run by init on autoboot # or after single-user. @@ -192,10 +192,12 @@ if [ -d /var/crash ]; then savecore /var/crash fi - echo -n 'checking quotas:' -quotacheck -a - echo ' done.' -quotaon -a +if [ "X${check_quotas}" = X"YES" ]; then + echo -n 'checking quotas:' + quotacheck -a + echo ' done.' + quotaon -a +fi # build ps databases echo 'building databases...'