pwcheck revision 1.3
1#!/bin/sh
2#
3# $NetBSD: pwcheck,v 1.3 2000/07/26 00:11:49 lukem Exp $
4#
5
6# PROVIDE: pwcheck
7# REQUIRE: mountcritremote syslogd
8
9. /etc/rc.subr
10
11name="pwcheck"
12start_cmd="pwcheck_start"
13stop_cmd=":"
14
15pwcheck_start()
16{
17	#	check the password temp/lock file
18	#
19	if [ -f /etc/ptmp ]; then
20		logger -s -p auth.err \
21		    "password file may be incorrect -- /etc/ptmp exists"
22	fi
23}
24
25load_rc_config $name
26run_rc_command "$1"
27