summary refs log tree commit diff
path: root/3
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2015-03-22 07:44:43 +0100
committerJuan RP <xtraeme@gmail.com>2015-03-22 07:44:43 +0100
commit47e916265c38c081f7864fb34aa21762c64ad0d8 (patch)
tree9a389ce75df1a3af524d3c8b75cfa34070e2e3cc /3
parent072c64d208f86934f13d1c81d3e0da91fc64ccb5 (diff)
downloadrunit-void-47e916265c38c081f7864fb34aa21762c64ad0d8.tar.gz
runit-void-47e916265c38c081f7864fb34aa21762c64ad0d8.tar.xz
runit-void-47e916265c38c081f7864fb34aa21762c64ad0d8.zip
1, 3: remove some more trailing extra newlines.
Diffstat (limited to '3')
-rwxr-xr-x318
1 files changed, 9 insertions, 9 deletions
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