aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-02-23 09:36:48 +0000
committerRoy Marples <roy@marples.name>2009-02-23 09:36:48 +0000
commit66cd081301a0b2e72c8ac348c2f1361261caae82 (patch)
tree3c745392fab6803dcc4b561d54b408bb1082b0ae
parent749938d4399c2fdd338670b5a1010474f85ecee6 (diff)
Change wipe_tmp_dirs to clean_tmp_dirs so user understands meaning better, #153
-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 06f90ced..2c1670b5 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 5049c6e7..a490fb80 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