1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/bin/sh # # $NetBSD: poffd,v 1.1 2001/01/14 15:37:22 minoura Exp $ # $FreeBSD$ # # PROVIDE: poffd # REQUIRE: DAEMON . /etc/rc.subr name="poffd" rcvar=$name command="/usr/sbin/${name}" start_precmd="test -c /dev/pow0" load_rc_config $name run_rc_command "$1"