From 61882821e0d6110a2ca2f67fad7c362983a85cf0 Mon Sep 17 00:00:00 2001 From: Doug Freed Date: Wed, 28 Sep 2016 15:00:40 -0400 Subject: [PATCH] init.d: Clean up some bad ewarn output --- init.d/hwclock.in | 4 ++-- init.d/localmount.in | 4 ++-- init.d/procfs.in | 4 ++-- init.d/sysfs.in | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/init.d/hwclock.in b/init.d/hwclock.in index e69c5615..f78cc7c3 100644 --- a/init.d/hwclock.in +++ b/init.d/hwclock.in @@ -106,8 +106,8 @@ start() modprobe -q $x && rtc_exists && modname="$x" && break done [ -n "$modname" ] && - ewarn "The $modname module needs to be configured in \ - @SYSCONFDIR@/conf.d/modules or built in." + ewarn "The $modname module needs to be configured in" \ + "@SYSCONFDIR@/conf.d/modules or built in." fi fi diff --git a/init.d/localmount.in b/init.d/localmount.in index d2c93212..c953524b 100644 --- a/init.d/localmount.in +++ b/init.d/localmount.in @@ -99,8 +99,8 @@ stop() aufs_branch=$(sed 's/=.*//g' $x) eindent if ! mount -o "remount,del:$aufs_branch" "$aufs_mount_point" > /dev/null 2>&1; then - ewarn "Failed to remove branch $aufs_branch from aufs \ - $aufs_mount_point" + ewarn "Failed to remove branch $aufs_branch from aufs" \ + "$aufs_mount_point" fi eoutdent sync diff --git a/init.d/procfs.in b/init.d/procfs.in index e04355e8..2abeb03a 100644 --- a/init.d/procfs.in +++ b/init.d/procfs.in @@ -26,8 +26,8 @@ start() [ ! -e /proc/sys/fs/binfmt_misc/register ]; then if ! grep -qs binfmt_misc /proc/filesystems && modprobe -q binfmt-misc; then - ewarn "The binfmt-misc module needs to be configured in \ - @SYSCONFDIR@/conf.d/modules or built in." + ewarn "The binfmt-misc module needs to be configured in" \ + "@SYSCONFDIR@/conf.d/modules or built in." fi if grep -qs binfmt_misc /proc/filesystems; then ebegin "Mounting misc binary format filesystem" diff --git a/init.d/sysfs.in b/init.d/sysfs.in index 87adacd9..b9478f85 100644 --- a/init.d/sysfs.in +++ b/init.d/sysfs.in @@ -104,8 +104,8 @@ mount_misc() if [ -d /sys/firmware/efi/efivars ] \ && ! mountinfo -q /sys/firmware/efi/efivars; then if modprobe -q efivarfs; then - ewarn "The efivarfs module needs to be configured in \ - @SYSCONFDIR@/conf.d/modules or built in" + ewarn "The efivarfs module needs to be configured in" \ + "@SYSCONFDIR@/conf.d/modules or built in" fi if grep -qs efivarfs /proc/filesystems; then ebegin "Mounting efivarfs filesystem"