mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
system: tweak previous
This commit is contained in:
parent
0b6317accb
commit
ffcdd3dd56
@ -59,7 +59,9 @@ mkdir -p /var/etc
|
||||
# from dropping "nologin" into the directory, preventing login on
|
||||
# the next boot. However, do not touch the directory tree.
|
||||
for RUNDIR in /var/run /var/dhcpd/var/run /var/unbound/var/run; do
|
||||
find ${RUNDIR} ! -type d -exec rm {} \;
|
||||
if [ -d ${RUNDIR} ]; then
|
||||
find ${RUNDIR} ! -type d -exec rm {} \;
|
||||
fi
|
||||
done
|
||||
|
||||
# setup output directory for php sessions
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user