Fix locations of PF helpers.
[dragonfly.git] / etc / rc.d / pwcheck
1 #!/bin/sh
2 #
3 # $NetBSD: pwcheck,v 1.4 2002/03/22 04:33:59 thorpej Exp $
4 # $FreeBSD: src/etc/rc.d/pwcheck,v 1.2 2002/06/13 22:14:36 gordon Exp $
5 # $DragonFly: src/etc/rc.d/pwcheck,v 1.2 2004/01/27 00:42:45 rob Exp $
6 #
7
8 # PROVIDE: pwcheck
9 # REQUIRE: mountcritremote syslogd
10 # BEFORE:  DAEMON
11 # KEYWORD: DragonFly
12
13 . /etc/rc.subr
14
15 name="pwcheck"
16 start_cmd="pwcheck_start"
17 stop_cmd=":"
18
19 pwcheck_start()
20 {
21         #       check the password temp/lock file
22         #
23         if [ -f /etc/ptmp ]; then
24                 logger -s -p auth.err \
25                     "password file may be incorrect -- /etc/ptmp exists"
26         fi
27 }
28
29 load_rc_config $name
30 run_rc_command "$1"