mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Limit /run to 8M.
This commit is contained in:
@@ -31,7 +31,7 @@ case "${1}" in
|
|||||||
|
|
||||||
if ! mountpoint /run &> /dev/null; then
|
if ! mountpoint /run &> /dev/null; then
|
||||||
boot_mesg -n " /run" ${NORMAL}
|
boot_mesg -n " /run" ${NORMAL}
|
||||||
mount -n -t tmpfs -o nosuid,nodev,mode=755 /run /run || failed=1
|
mount -n -t tmpfs -o nosuid,nodev,mode=755,size=8M /run /run || failed=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
boot_mesg "" ${NORMAL}
|
boot_mesg "" ${NORMAL}
|
||||||
|
|||||||
Reference in New Issue
Block a user