init

Init system
git clone git://git.carbslinux.org/init
Log | Files | Refs | README | LICENSE

commit 110e1be55f4f3a08e269ee55f6255e5a3da8b731
parent 067cc3d2ec25058b16702e88f50b23586f818731
Author: Cem Keylan <cem@ckyln.com>
Date:   Mon,  1 Jun 2020 12:51:20 +0300

rc.shutdown: seperate functions

Diffstat:
Mrc.shutdown | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/rc.shutdown b/rc.shutdown @@ -29,12 +29,13 @@ out "Sending KILL signal to all processes..."; { killall5 -KILL } -out "Unmounting filesystems and disabling swap..." -out "Remounting rootfs as readonly"; { +out "Unmounting filesystems and disabling swap..."; { swapoff -a umount -rat nosysfs,noproc,nodevtmpfs,notmpfs - mount -o remount,ro / +} 2>&1 | log +out "Remounting rootfs as readonly..."; { + mount -o remount,ro / sync } 2>&1 | log