|
Lines 25-31
cleanup_tmp_dir()
Link Here
|
| 25 |
mkdir -p "$dir" || return $? |
25 |
mkdir -p "$dir" || return $? |
| 26 |
fi |
26 |
fi |
| 27 |
dir_writeable "$dir" || return 1 |
27 |
dir_writeable "$dir" || return 1 |
| 28 |
chmod a+rwt "$dir" |
28 |
chmod a+rwt "$dir" 2> /dev/null |
| 29 |
cd "$dir" |
29 |
cd "$dir" |
| 30 |
if yesno $wipe_tmp; then |
30 |
if yesno $wipe_tmp; then |
| 31 |
ebegin "Wiping $dir directory" |
31 |
ebegin "Wiping $dir directory" |
|
Lines 77-83
mkutmp()
Link Here
|
| 77 |
start() |
77 |
start() |
| 78 |
{ |
78 |
{ |
| 79 |
# Remove any added console dirs |
79 |
# Remove any added console dirs |
| 80 |
rm -rf "$RC_LIBEXECDIR"/console |
80 |
rm -rf "$RC_LIBEXECDIR"/console/* |
| 81 |
|
81 |
|
| 82 |
local logw=false runw=false extra= |
82 |
local logw=false runw=false extra= |
| 83 |
# Ensure that our basic dirs exist |
83 |
# Ensure that our basic dirs exist |