pwcheck revision 1.2
1#!/bin/sh 2# 3# $NetBSD: pwcheck,v 1.2 2000/05/13 08:45:08 lukem Exp $ 4# 5 6# PROVIDE: pwcheck 7# REQUIRE: systemfs 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