12 lines
249 B
Bash
12 lines
249 B
Bash
|
#!/bin/sh
|
||
|
set -f
|
||
|
|
||
|
. /image-entry.d/00-common.envsh
|
||
|
|
||
|
find "${volume_root}/" -mindepth 1 -exec rm -rf {} +
|
||
|
|
||
|
[ -d "${tmp_dir}" ] || install -d -m 03777 "${tmp_dir}"
|
||
|
[ -d "${volume_root}/lock" ] || install_userdir "${volume_root}/lock"
|
||
|
|
||
|
exit 0
|