summaryrefslogtreecommitdiff
path: root/shutdownasap.conf
blob: 50d32eb68da4bd4b2c9d1068faec715650229ae1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash


pidFile="/tmp/shutdownasap.pid"
waitForDir="/home/shutdown/.warteauf"

declare -A shutDownNoGos

shutDownNoGos["backup"]="[^/ ]*backup"
shutDownNoGos["dd"]="dd"
shutDownNoGos["ncat"]="ncat"
shutDownNoGos["ports"]="ports"
shutDownNoGos["prt-get"]="prt-get"
shutDownNoGos["rsync"]="rsync"
shutDownNoGos["wget"]="wget"
shutDownNoGos["wetter"]="/tmp/wetter.pid"

beforeWatchHook() {
  true
}

beforeShutDownHook() {
  true
}