Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git] / etc / rc.d / quota
blobbf36bb653b64f15abc93716d187084df2c9dce0c
1 #!/bin/sh
3 # $NetBSD: quota,v 1.4 2004/06/03 16:27:44 abs Exp $
6 # PROVIDE: quota
7 # REQUIRE: mountall
8 # BEFORE: DAEMON
10 $_rc_subr_loaded . /etc/rc.subr
12 name="quota"
13 rcvar="quota"
14 start_cmd="quota_start"
15 stop_cmd="/usr/sbin/quotaoff -a"
17 quota_start()
19 echo -n "Checking quotas:"
20 /usr/sbin/quotacheck -a
21 echo " done."
22 /usr/sbin/quotaon -a
25 load_rc_config $name
26 run_rc_command "$1"