Mercurial > vanilla
changeset 561:6e17e9e1ec3b
core/etc: style
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 05 Jul 2019 21:10:00 +0200 |
parents | 2f46816f1cd6 |
children | 8566fc44bb69 |
files | core/etc/fstab core/etc/rc.shutdown |
diffstat | 2 files changed, 5 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/core/etc/fstab Fri Jul 05 21:09:00 2019 +0200 +++ b/core/etc/fstab Fri Jul 05 21:10:00 2019 +0200 @@ -2,5 +2,5 @@ # /etc/fstab: file system information # -# <device> <directory> <type> <options> <dump> <pass> +# <device> <directory> <type> <options> <dump> <pass> /dev/ROOT / ext4 defaults 0 1
--- a/core/etc/rc.shutdown Fri Jul 05 21:09:00 2019 +0200 +++ b/core/etc/rc.shutdown Fri Jul 05 21:10:00 2019 +0200 @@ -27,11 +27,10 @@ /bin/halt -w /bin/swapoff -a -if [ -x /bin/mount ]; then - /bin/umount -a -d -r -t nosysfs,noproc,nodevtmpfs - /bin/umount -a -r - /bin/mount -o remount,ro / -fi +echo "Remounting / read-only" +/bin/umount -a -d -r -t nosysfs,noproc,nodevtmpfs +/bin/umount -a -r +/bin/mount -o remount,ro / if [ "$1" = "0" ]; then /bin/poweroff -d -f -i