From f76b41efeff894805e117870d7fa342231d01e40 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 5 Sep 2001 03:18:33 +0000 Subject: quota & hwclock tweaks () --- rc.d/rc.sysinit | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'rc.d/rc.sysinit') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 5fbc0c1e..9b0a628b 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -83,7 +83,7 @@ CLOCKFLAGS="$CLOCKFLAGS --hctosys" case "$UTC" in yes|true) - CLOCKFLAGS="$CLOCKFLAGS -u"; + CLOCKFLAGS="$CLOCKFLAGS --utc"; CLOCKDEF="$CLOCKDEF (utc)"; ;; no|false) @@ -94,17 +94,18 @@ esac case "$ARC" in yes|true) - CLOCKFLAGS="$CLOCKFLAGS -A"; + CLOCKFLAGS="$CLOCKFLAGS --arc"; CLOCKDEF="$CLOCKDEF (arc)"; ;; esac case "$SRM" in yes|true) - CLOCKFLAGS="$CLOCKFLAGS -S"; + CLOCKFLAGS="$CLOCKFLAGS --srm"; CLOCKDEF="$CLOCKDEF (srm)"; ;; esac +/sbin/hwclock --adjust /sbin/hwclock $CLOCKFLAGS action $"Setting clock $CLOCKDEF: `date`" date @@ -303,7 +304,7 @@ if [ X"$_RUN_QUOTACHECK" = X1 -a \ /sbin/convertquota -g / && rm -f /quota.group fi fi - action $"Checking root filesystem quotas: " /sbin/quotacheck -n / + action $"Checking root filesystem quotas: " /sbin/quotacheck -nug / fi # check for arguments passed from kernel @@ -590,11 +591,11 @@ if [ X"$_RUN_QUOTACHECK" = X1 -a -x /sbin/quotacheck ]; then fi done fi - action $"Checking local filesystem quotas: " /sbin/quotacheck -aR + action $"Checking local filesystem quotas: " /sbin/quotacheck -aRnug fi if [ -x /sbin/quotaon ]; then - action $"Enabling local filesystem quotas: " /sbin/quotaon -a + action $"Enabling local filesystem quotas: " /sbin/quotaon -aug fi # Turn on process accounting -- cgit v1.2.1