acpi: Narrow workaround for broken interrupt settings
[dragonfly.git] / etc / rc.d / quota
blobdf8559876667fc14f8a2586754f092f43fc4c933
1 #!/bin/sh
3 # $FreeBSD: src/etc/rc.d/quota,v 1.3 2002/10/12 10:31:31 schweikh Exp $
6 # Enable/Check the quotas (must be after ypbind if using NIS)
9 # PROVIDE: quota
10 # REQUIRE: mountcritremote ypset
11 # BEFORE: DAEMON
13 . /etc/rc.subr
15 name="quota"
16 rcvar="enable_quotas"
17 start_cmd="quota_start"
18 stop_cmd="/usr/sbin/quotaoff -a"
20 quota_start()
22 if checkyesno check_quotas; then
23 echo -n 'Checking quotas:'
24 quotacheck -a
25 echo ' done.'
28 echo -n 'Enabling quotas:'
29 quotaon -a
30 echo ' done.'
33 load_rc_config $name
34 run_rc_command "$1"