init.d: Clean up some bad ewarn output
This commit is contained in:
parent
969546bcf0
commit
61882821e0
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user