Current Path : /usr/src/etc/rc.d/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/src/etc/rc.d/pwcheck |
#!/bin/sh # # $FreeBSD: release/9.1.0/etc/rc.d/pwcheck 174438 2007-12-08 07:20:23Z dougb $ # # PROVIDE: pwcheck # REQUIRE: mountcritremote syslogd # BEFORE: DAEMON . /etc/rc.subr name="pwcheck" start_cmd="pwcheck_start" stop_cmd=":" pwcheck_start() { # check the password temp/lock file # if [ -f /etc/ptmp ]; then logger -s -p auth.err \ "password file may be incorrect -- /etc/ptmp exists" fi } load_rc_config $name run_rc_command "$1"