repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git]
/
etc
/
rc.d
/
quota
blob
bf36bb653b64f15abc93716d187084df2c9dce0c
1
#!/bin/sh
2
#
3
# $NetBSD: quota,v 1.4 2004/06/03 16:27:44 abs Exp $
4
#
5
6
# PROVIDE: quota
7
# REQUIRE: mountall
8
# BEFORE: DAEMON
9
10
$_rc_subr_loaded
.
/
etc
/
rc.subr
11
12
name
=
"quota"
13
rcvar
=
"quota"
14
start_cmd
=
"quota_start"
15
stop_cmd
=
"/usr/sbin/quotaoff -a"
16
17
quota_start
()
18
{
19
echo -n
"Checking quotas:"
20
/
usr
/
sbin
/
quotacheck
-a
21
echo
" done."
22
/
usr
/
sbin
/
quotaon
-a
23
}
24
25
load_rc_config
$name
26
run_rc_command
"
$1
"