From 47e916265c38c081f7864fb34aa21762c64ad0d8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 22 Mar 2015 07:44:43 +0100 Subject: 1, 3: remove some more trailing extra newlines. --- 3 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to '3') diff --git a/3 b/3 index 5a0394a..c40c894 100755 --- a/3 +++ b/3 @@ -12,13 +12,13 @@ if [ -e /run/runit/reboot ]; then fi echo -msg "Waiting for services to stop...\n" +msg "Waiting for services to stop..." sv force-stop /var/service/* sv exit /var/service/* [ -x /etc/rc.shutdown ] && /etc/rc.shutdown -msg "Saving random seed...\n" +msg "Saving random seed..." ( umask 077; dd if=/dev/urandom of=/var/lib/random-seed count=1 bs=512 >/dev/null 2>&1 ) if [ -z "$VIRTUALIZATION" -a -n "$HARDWARECLOCK" ]; then @@ -28,21 +28,21 @@ fi halt -w # for utmp if [ -z "$VIRTUALIZATION" ]; then - msg "Stopping udev...\n" + msg "Stopping udev..." udevadm control --exit fi -msg "Sending TERM signal to processes...\n" +msg "Sending TERM signal to processes..." pkill --inverse -s0,1 -TERM sleep 1 -msg "Sending KILL signal to processes...\n" +msg "Sending KILL signal to processes..." pkill --inverse -s0,1 -KILL if [ -z "$VIRTUALIZATION" ]; then - msg "Unmounting filesystems, disabling swap...\n" + msg "Unmounting filesystems, disabling swap..." swapoff -a umount -r -a -t nosysfs,noproc,nodevtmpfs,notmpfs - msg "Remounting rootfs read-only...\n" + msg "Remounting rootfs read-only..." mount -o remount,ro / fi @@ -50,8 +50,8 @@ sync if [ -z "$VIRTUALIZATION" ]; then if [ -e /run/runit/reboot ] && command -v kexec >/dev/null; then - msg "Triggering kexec...\n" + msg "Triggering kexec..." kexec -e 2>/dev/null - # not reached when kexec was successful. + # not reached when kexec was successful. fi fi -- cgit 1.4.1