Sync usage with man page.
[netbsd-mini2440.git] / etc / rc.d / pwcheck
blob3db342140d2fc7deccaf558b4fe35bcc81676535
1 #!/bin/sh
3 # $NetBSD: pwcheck,v 1.4 2002/03/22 04:33:59 thorpej Exp $
6 # PROVIDE: pwcheck
7 # REQUIRE: mountcritremote syslogd
8 # BEFORE: DAEMON
10 $_rc_subr_loaded . /etc/rc.subr
12 name="pwcheck"
13 start_cmd="pwcheck_start"
14 stop_cmd=":"
16 pwcheck_start()
18 # check the password temp/lock file
20 if [ -f /etc/ptmp ]; then
21 logger -s -p auth.err \
22 "password file may be incorrect -- /etc/ptmp exists"
26 load_rc_config $name
27 run_rc_command "$1"