runit: No intentar remontar el rootfs como read-only al apagar
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Es redundante :P
This commit is contained in:
Cat /dev/Nulo 2022-06-17 23:25:56 -03:00
parent 4353bfb6b9
commit 271dc6fc6f

View file

@ -337,8 +337,6 @@ if [ -z "$VIRTUALIZATION" ]; then
msg "Unmounting filesystems, disabling swap..." msg "Unmounting filesystems, disabling swap..."
swapoff -a swapoff -a
umount -r -a -t nosysfs,noproc,nodevtmpfs,notmpfs umount -r -a -t nosysfs,noproc,nodevtmpfs,notmpfs
msg "Remounting rootfs read-only..."
mount -o remount,ro /
fi fi
sync sync