blob: 90a037674ea79d09109055c9e7cc22902076c130 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: sleepwatcher.sh,v 1.1 2022/01/05 10:56:00 schmonz Exp $
#
# PROVIDE: sleepwatcher
# REQUIRE: LOGIN
. /etc/rc.subr
name="sleepwatcher"
rcvar=$name
command="@PREFIX@/sbin/${name}"
command_args="-d -V -s @PREFIX@/sbin/sleepwatcher-sleep -w @PREFIX@/sbin/sleepwatcher-wakeup"
load_rc_config $name
run_rc_command $1
|