diff options
Diffstat (limited to 'shutdownasap.in')
-rwxr-xr-x | shutdownasap.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shutdownasap.in b/shutdownasap.in index d2d471f..d131867 100755 --- a/shutdownasap.in +++ b/shutdownasap.in @@ -7,6 +7,7 @@ set -e . #ETCDIR#/shutdownasap.conf mkdir -p "${tmpDir}" +cd "${tmpDir}" quiet=false intentionSet=false @@ -157,4 +158,5 @@ case "$(head -n1 "${tmpDir}/intention")" in ;; esac +cd / rm -rf --one-file-system "${tmpDir}" |