xref: /dragonfly/etc/rc.d/pwcheck (revision 35e996c9)
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#
6
7# PROVIDE: pwcheck
8# REQUIRE: SERVERS
9# BEFORE:  DAEMON
10
11. /etc/rc.subr
12
13name="pwcheck"
14start_cmd="pwcheck_start"
15stop_cmd=":"
16
17pwcheck_start()
18{
19	#	check the password temp/lock file
20	#
21	if [ -f /etc/ptmp ]; then
22		logger -s -p auth.err \
23		    "password file may be incorrect -- /etc/ptmp exists"
24	fi
25}
26
27load_rc_config $name
28run_rc_command "$1"
29