1#!/bin/sh
2#
3# $NetBSD: quota,v 1.1.1.1 2000/03/10 11:53:24 lukem Exp $
4#
5
6# PROVIDE: quota
7# REQUIRE: mountall
8
9. /etc/rc.subr
10
11name="quota"
12start_cmd="quota_start"
13stop_cmd="/usr/sbin/quotaoff -a"
14
15quota_start()
16{
17 echo -n "Checking quotas:"
18 /usr/sbin/quotacheck -a
19 echo " done."
20 /usr/sbin/quotaon -a
21}
22
23load_rc_config $name
24run_rc_command "$1"
2#
3# $NetBSD: quota,v 1.1.1.1 2000/03/10 11:53:24 lukem Exp $
4#
5
6# PROVIDE: quota
7# REQUIRE: mountall
8
9. /etc/rc.subr
10
11name="quota"
12start_cmd="quota_start"
13stop_cmd="/usr/sbin/quotaoff -a"
14
15quota_start()
16{
17 echo -n "Checking quotas:"
18 /usr/sbin/quotacheck -a
19 echo " done."
20 /usr/sbin/quotaon -a
21}
22
23load_rc_config $name
24run_rc_command "$1"