1
0
angie-conv-image/image-entry.d/60-flush-run-volume.sh

12 lines
249 B
Bash
Raw Normal View History

2024-07-11 13:37:35 +03:00
#!/bin/sh
set -f
. /image-entry.d/00-common.envsh
2024-07-15 16:15:47 +03:00
find "${volume_root}/" -mindepth 1 -exec rm -rf {} +
2024-07-11 13:37:35 +03:00
2024-07-15 16:15:47 +03:00
[ -d "${tmp_dir}" ] || install -d -m 03777 "${tmp_dir}"
[ -d "${volume_root}/lock" ] || install_userdir "${volume_root}/lock"
2024-07-11 13:37:35 +03:00
exit 0