Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:master commit in: init.d/
Date: Wed, 28 Sep 2016 19:22:09
Message-Id: 1475089240.61882821e0d6110a2ca2f67fad7c362983a85cf0.williamh@OpenRC
1 commit: 61882821e0d6110a2ca2f67fad7c362983a85cf0
2 Author: Doug Freed <dwfreed <AT> mtu <DOT> edu>
3 AuthorDate: Wed Sep 28 19:00:40 2016 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 28 19:00:40 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=61882821
7
8 init.d: Clean up some bad ewarn output
9
10 init.d/hwclock.in | 4 ++--
11 init.d/localmount.in | 4 ++--
12 init.d/procfs.in | 4 ++--
13 init.d/sysfs.in | 4 ++--
14 4 files changed, 8 insertions(+), 8 deletions(-)
15
16 diff --git a/init.d/hwclock.in b/init.d/hwclock.in
17 index e69c561..f78cc7c 100644
18 --- a/init.d/hwclock.in
19 +++ b/init.d/hwclock.in
20 @@ -106,8 +106,8 @@ start()
21 modprobe -q $x && rtc_exists && modname="$x" && break
22 done
23 [ -n "$modname" ] &&
24 - ewarn "The $modname module needs to be configured in \
25 - @SYSCONFDIR@/conf.d/modules or built in."
26 + ewarn "The $modname module needs to be configured in" \
27 + "@SYSCONFDIR@/conf.d/modules or built in."
28 fi
29 fi
30
31
32 diff --git a/init.d/localmount.in b/init.d/localmount.in
33 index d2c9321..c953524 100644
34 --- a/init.d/localmount.in
35 +++ b/init.d/localmount.in
36 @@ -99,8 +99,8 @@ stop()
37 aufs_branch=$(sed 's/=.*//g' $x)
38 eindent
39 if ! mount -o "remount,del:$aufs_branch" "$aufs_mount_point" > /dev/null 2>&1; then
40 - ewarn "Failed to remove branch $aufs_branch from aufs \
41 - $aufs_mount_point"
42 + ewarn "Failed to remove branch $aufs_branch from aufs" \
43 + "$aufs_mount_point"
44 fi
45 eoutdent
46 sync
47
48 diff --git a/init.d/procfs.in b/init.d/procfs.in
49 index e04355e..2abeb03 100644
50 --- a/init.d/procfs.in
51 +++ b/init.d/procfs.in
52 @@ -26,8 +26,8 @@ start()
53 [ ! -e /proc/sys/fs/binfmt_misc/register ]; then
54 if ! grep -qs binfmt_misc /proc/filesystems &&
55 modprobe -q binfmt-misc; then
56 - ewarn "The binfmt-misc module needs to be configured in \
57 - @SYSCONFDIR@/conf.d/modules or built in."
58 + ewarn "The binfmt-misc module needs to be configured in" \
59 + "@SYSCONFDIR@/conf.d/modules or built in."
60 fi
61 if grep -qs binfmt_misc /proc/filesystems; then
62 ebegin "Mounting misc binary format filesystem"
63
64 diff --git a/init.d/sysfs.in b/init.d/sysfs.in
65 index 87adacd..b9478f8 100644
66 --- a/init.d/sysfs.in
67 +++ b/init.d/sysfs.in
68 @@ -104,8 +104,8 @@ mount_misc()
69 if [ -d /sys/firmware/efi/efivars ] \
70 && ! mountinfo -q /sys/firmware/efi/efivars; then
71 if modprobe -q efivarfs; then
72 - ewarn "The efivarfs module needs to be configured in \
73 - @SYSCONFDIR@/conf.d/modules or built in"
74 + ewarn "The efivarfs module needs to be configured in" \
75 + "@SYSCONFDIR@/conf.d/modules or built in"
76 fi
77 if grep -qs efivarfs /proc/filesystems; then
78 ebegin "Mounting efivarfs filesystem"