mbuf.9: Adjust for removal of m_devget()'s 'copy' argument.
[dragonfly.git] / etc / rc.d / pwcheck
blob503fd923a510858bd2f81c5ba4c83ea86f1c5787
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 $
5 # $DragonFly: src/etc/rc.d/pwcheck,v 1.3 2005/11/19 21:47:32 swildner Exp $
8 # PROVIDE: pwcheck
9 # REQUIRE: mountcritremote syslogd
10 # BEFORE: DAEMON
12 . /etc/rc.subr
14 name="pwcheck"
15 start_cmd="pwcheck_start"
16 stop_cmd=":"
18 pwcheck_start()
20 # check the password temp/lock file
22 if [ -f /etc/ptmp ]; then
23 logger -s -p auth.err \
24 "password file may be incorrect -- /etc/ptmp exists"
28 load_rc_config $name
29 run_rc_command "$1"