summaryrefslogtreecommitdiff
path: root/shutdownasap.conf
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-10 11:21:56 +0200
committerErich Eckner <git@eckner.net>2016-04-10 11:21:56 +0200
commitee45f2e79c67d17ba4c0a67617d6a08f85af085e (patch)
tree225f2372da27fbfac6a287a95e22ff7cef5fd046 /shutdownasap.conf
parent4eb26ade00c26cee4a112fa8e4113b1699357d99 (diff)
downloadshutdownasap-0.0.tar.xz
skripte soweit erstmal fertigv0.0
Diffstat (limited to 'shutdownasap.conf')
-rwxr-xr-xshutdownasap.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/shutdownasap.conf b/shutdownasap.conf
new file mode 100755
index 0000000..4ff6198
--- /dev/null
+++ b/shutdownasap.conf
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+
+pidFile="/tmp/shutdownasap.pid"
+waitForDir="/home/shutdown/.warteauf"
+
+declare -A shutDownNoGos
+
+shutDownNoGos["rsync"]="rsync"
+shutDownNoGos["backup"]="[^/ ]*backup"
+shutDownNoGos["prt-get"]="prt-get"
+shutDownNoGos["ports"]="ports"
+shutDownNoGos["rsync"]="rsync"
+shutDownNoGos["wget"]="wget"
+shutDownNoGos["dd"]="dd"
+shutDownNoGos["ncat"]="ncat"
+
+beforeShutDownHook() {
+ true
+}