summarylogtreecommitdiffstats
path: root/wakeup-triggers.openrc
blob: 4700dcc5593206cafe27abee9d56318427b10d0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/openrc-run

description="Deactivate wakeup triggers except those specified in '/etc/wakeup-triggers.conf'."

depend() {
  after bootmisc # We want to have /tmp set up before, and have a /tmp cleanup run before, since it saves data in /tmp/wakeup-triggers.
}

start() {
  /usr/bin/wakeup-triggers.sh start
}

stop() {
  /usr/bin/wakeup-triggers.sh stop
}