runit: No intentar remontar el rootfs como read-only al apagar
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Es redundante :P
This commit is contained in:
parent
4353bfb6b9
commit
271dc6fc6f
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue