#!/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 }