aboutsummaryrefslogtreecommitdiff
path: root/init.d/bootmisc
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/bootmisc')
-rwxr-xr-xinit.d/bootmisc4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/bootmisc b/init.d/bootmisc
index 8ea4e878..3ac53a22 100755
--- a/init.d/bootmisc
+++ b/init.d/bootmisc
@@ -36,7 +36,7 @@ cleanup_tmp_dir() {
mkdir -p "${dir}"
cd "${dir}"
- if [ "${WIPE_TMP}" = "yes" ]; then
+ if [ "${wipe_tmp}" = "yes" ]; then
ebegin "Wiping ${dir} directory"
local startopts="-x . -depth"
[ "${RC_UNAME}" = "Linux" ] && startopts=". -xdev -depth"
@@ -116,7 +116,7 @@ start() {
# Clean up /tmp directories
local tmp=
- for tmp in ${WIPE_TMP_DIRS-/tmp}; do
+ for tmp in ${wipe_tmp_dirs-/tmp}; do
cleanup_tmp_dir "${tmp}"
done
chmod +t /tmp /var/tmp