mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-21 16:32:59 +02:00
initscripts: Mount /var/lock early in the boot process
This commit is contained in:
@@ -34,6 +34,11 @@ case "${1}" in
|
||||
mount -n -t tmpfs -o nosuid,nodev,mode=755,size=8M /run /run || failed=1
|
||||
fi
|
||||
|
||||
if ! mountpoint /var/lock &>/dev/null; then
|
||||
boot_mesg -n " /var/lock" ${NORMAL}
|
||||
mount -n -t tmpfs -o nosuid,nodev,size=8M /var/lock /var/lock || failed=1
|
||||
fi
|
||||
|
||||
boot_mesg "" ${NORMAL}
|
||||
|
||||
(exit ${failed})
|
||||
|
||||
Reference in New Issue
Block a user