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
|
modprobe -q $x && rtc_exists && modname="$x" && break
|
||||||
done
|
done
|
||||||
[ -n "$modname" ] &&
|
[ -n "$modname" ] &&
|
||||||
ewarn "The $modname module needs to be configured in \
|
ewarn "The $modname module needs to be configured in" \
|
||||||
@SYSCONFDIR@/conf.d/modules or built in."
|
"@SYSCONFDIR@/conf.d/modules or built in."
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -99,8 +99,8 @@ stop()
|
|||||||
aufs_branch=$(sed 's/=.*//g' $x)
|
aufs_branch=$(sed 's/=.*//g' $x)
|
||||||
eindent
|
eindent
|
||||||
if ! mount -o "remount,del:$aufs_branch" "$aufs_mount_point" > /dev/null 2>&1; then
|
if ! mount -o "remount,del:$aufs_branch" "$aufs_mount_point" > /dev/null 2>&1; then
|
||||||
ewarn "Failed to remove branch $aufs_branch from aufs \
|
ewarn "Failed to remove branch $aufs_branch from aufs" \
|
||||||
$aufs_mount_point"
|
"$aufs_mount_point"
|
||||||
fi
|
fi
|
||||||
eoutdent
|
eoutdent
|
||||||
sync
|
sync
|
||||||
|
@ -26,8 +26,8 @@ start()
|
|||||||
[ ! -e /proc/sys/fs/binfmt_misc/register ]; then
|
[ ! -e /proc/sys/fs/binfmt_misc/register ]; then
|
||||||
if ! grep -qs binfmt_misc /proc/filesystems &&
|
if ! grep -qs binfmt_misc /proc/filesystems &&
|
||||||
modprobe -q binfmt-misc; then
|
modprobe -q binfmt-misc; then
|
||||||
ewarn "The binfmt-misc module needs to be configured in \
|
ewarn "The binfmt-misc module needs to be configured in" \
|
||||||
@SYSCONFDIR@/conf.d/modules or built in."
|
"@SYSCONFDIR@/conf.d/modules or built in."
|
||||||
fi
|
fi
|
||||||
if grep -qs binfmt_misc /proc/filesystems; then
|
if grep -qs binfmt_misc /proc/filesystems; then
|
||||||
ebegin "Mounting misc binary format filesystem"
|
ebegin "Mounting misc binary format filesystem"
|
||||||
|
@ -104,8 +104,8 @@ mount_misc()
|
|||||||
if [ -d /sys/firmware/efi/efivars ] \
|
if [ -d /sys/firmware/efi/efivars ] \
|
||||||
&& ! mountinfo -q /sys/firmware/efi/efivars; then
|
&& ! mountinfo -q /sys/firmware/efi/efivars; then
|
||||||
if modprobe -q efivarfs; then
|
if modprobe -q efivarfs; then
|
||||||
ewarn "The efivarfs module needs to be configured in \
|
ewarn "The efivarfs module needs to be configured in" \
|
||||||
@SYSCONFDIR@/conf.d/modules or built in"
|
"@SYSCONFDIR@/conf.d/modules or built in"
|
||||||
fi
|
fi
|
||||||
if grep -qs efivarfs /proc/filesystems; then
|
if grep -qs efivarfs /proc/filesystems; then
|
||||||
ebegin "Mounting efivarfs filesystem"
|
ebegin "Mounting efivarfs filesystem"
|
||||||
|
Loading…
Reference in New Issue
Block a user