21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
bootfs: fsck
echo "MRC:$@> Checking whether we need /boot mounted."
mount -vadr | grep -q ' /boot$$' && mount -r /boot || true
cleanvar: mount
echo "MRC:$@> Cleaning 'var's."
.for dir in ${CLEANVAR_DIRS}
-test -d ${dir} && find ${dir} -mindepth 1 -delete
.endfor
install -m644 /dev/null /var/run/utmpx
cleartmp: mountlate
echo "MRC:$@> Clearing tmp."; \
find -x /tmp -mindepth 1 ! -name lost+found \
! -name snapshots ! -path "./snapshots/*" \
|
|
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
bootfs: fsck
echo "MRC:$@> Checking whether we need /boot mounted."
mount -vadr | grep -q ' /boot$$' && mount -r /boot || true
cleanvar: mount
echo "MRC:$@> Cleaning 'var's."
.for dir in ${CLEANVAR_DIRS}
test -d ${dir} && find ${dir} -mindepth 1 -delete || true
.endfor
install -m644 /dev/null /var/run/utmpx
cleartmp: mountlate
echo "MRC:$@> Clearing tmp."; \
find -x /tmp -mindepth 1 ! -name lost+found \
! -name snapshots ! -path "./snapshots/*" \
|