summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf.d/bootmisc2
-rw-r--r--init.d/bootmisc.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/conf.d/bootmisc b/conf.d/bootmisc
index 06f90ce..2c1670b 100644
--- a/conf.d/bootmisc
+++ b/conf.d/bootmisc
@@ -1,5 +1,5 @@
# List of /tmp directories we should clean up
-wipe_tmp_dirs="/tmp"
+clean_tmp_dirs="/tmp"
# Should we wipe the tmp paths completely or just selectively remove known
# locks / files / etc... ?
diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in
index 5049c6e..a490fb8 100644
--- a/init.d/bootmisc.in
+++ b/init.d/bootmisc.in
@@ -115,7 +115,7 @@ start()
# Clean up /tmp directories
local tmp=
- for tmp in ${wipe_tmp_dirs-/tmp}; do
+ for tmp in ${clean_tmp_dirs:-${wipe_tmp_dirs-/tmp}}; do
cleanup_tmp_dir "${tmp}"
done