From 66cd081301a0b2e72c8ac348c2f1361261caae82 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 23 Feb 2009 09:36:48 +0000 Subject: [PATCH] Change wipe_tmp_dirs to clean_tmp_dirs so user understands meaning better, #153 --- conf.d/bootmisc | 2 +- init.d/bootmisc.in | 2 +- 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