bridge(4): document net.link.bridge.pfil_onlyip
[dragonfly.git] / etc / rc.d / pwcheck
blob2073bd07b11f85e39d934e5814dc7b16c504ef20
1 #!/bin/sh
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 $
7 # PROVIDE: pwcheck
8 # REQUIRE: SERVERS
9 # BEFORE: DAEMON
11 . /etc/rc.subr
13 name="pwcheck"
14 start_cmd="pwcheck_start"
15 stop_cmd=":"
17 pwcheck_start()
19 # check the password temp/lock file
21 if [ -f /etc/ptmp ]; then
22 logger -s -p auth.err \
23 "password file may be incorrect -- /etc/ptmp exists"
27 load_rc_config $name
28 run_rc_command "$1"