projects
/
freebsd.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Add another PCI ID for JMB368 PATA controller.
[freebsd.git]
/
etc
/
rc.d
/
pwcheck
1
#!/bin/sh
2
#
3
# $FreeBSD$
4
#
5
6
# PROVIDE: pwcheck
7
# REQUIRE: mountcritremote syslogd
8
# BEFORE: DAEMON
9
10
. /etc/rc.subr
11
12
name="pwcheck"
13
start_cmd="pwcheck_start"
14
stop_cmd=":"
15
16
pwcheck_start()
17
{
18
# check the password temp/lock file
19
#
20
if [ -f /etc/ptmp ]; then
21
logger -s -p auth.err \
22
"password file may be incorrect -- /etc/ptmp exists"
23
fi
24
}
25
26
load_rc_config $name
27
run_rc_command "$1"