about summary refs log tree commit diff
path: root/core-services/03-filesystems.sh
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-03-21 23:14:53 +0100
committerJuan RP <xtraeme@gmail.com>2015-03-22 07:09:18 +0100
commit94e5820c674a619cc0b206a5e4f24e30c7910c8e (patch)
treeb15c487ca50da6d1e5b8e07250165087e9ce7856 /core-services/03-filesystems.sh
parent22d922a8d2cf0c81e85c18b7709487e41cbb6c4d (diff)
downloadrunit-void-94e5820c674a619cc0b206a5e4f24e30c7910c8e.tar.gz
runit-void-94e5820c674a619cc0b206a5e4f24e30c7910c8e.tar.xz
runit-void-94e5820c674a619cc0b206a5e4f24e30c7910c8e.zip
add a newline by default to msg and msg_warn output
Diffstat (limited to 'core-services/03-filesystems.sh')
-rw-r--r--core-services/03-filesystems.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/core-services/03-filesystems.sh b/core-services/03-filesystems.sh
index 8b1e16b..01c4fe4 100644
--- a/core-services/03-filesystems.sh
+++ b/core-services/03-filesystems.sh
@@ -2,30 +2,30 @@
 
 [ -n "$VIRTUALIZATION" ] && return 0
 
-msg "Remounting rootfs read-only...\n"
+msg "Remounting rootfs read-only..."
 mount -o remount,ro / || emergency_shell
 
 if [ -x /sbin/dmraid ]; then
-    msg "Activating dmraid devices...\n"
+    msg "Activating dmraid devices..."
     dmraid -i -ay
 fi
 
 if [ -x /bin/btrfs ]; then
-    msg "Activating btrfs devices...\n"
+    msg "Activating btrfs devices..."
     btrfs device scan || emergency_shell
 fi
 
 if [ -x /sbin/vgchange ]; then
-    msg "Activating LVM devices...\n"
+    msg "Activating LVM devices..."
     vgchange --sysinit -a y || emergency_shell
 fi
 
 if [ -e /etc/crypttab ]; then
-    msg "Activating encrypted devices...\n"
+    msg "Activating encrypted devices..."
     awk -f /etc/runit/crypt.awk /etc/crypttab
 
     if [ -x /sbin/vgchange ]; then
-        msg "Activating LVM devices for dm-crypt...\n"
+        msg "Activating LVM devices for dm-crypt..."
         vgchange --sysinit -a y || emergency_shell
     fi
 fi
@@ -40,15 +40,15 @@ for arg in $(cat /proc/cmdline); do
 done
 
 if [ -z "$FASTBOOT" ]; then
-    msg "Checking filesystems:\n"
+    msg "Checking filesystems:"
     fsck -A -T -a -t noopts=_netdev $FORCEFSCK
     if [ $? -gt 1 ]; then
         emergency_shell
     fi
 fi
 
-msg "Mounting rootfs read-write...\n"
+msg "Mounting rootfs read-write..."
 mount -o remount,rw / || emergency_shell
 
-msg "Mounting all non-network filesystems...\n"
+msg "Mounting all non-network filesystems..."
 mount -a -t "nosysfs,nonfs,nonfs4,nosmbfs,nocifs" -O no_netdev || emergency_shell