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 11 name="pwcheck" 12 start_cmd="pwcheck_start" 13 stop_cmd=":" 14 15 pwcheck_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 25 load_rc_config $name 26 run_rc_command "$1" 27