1 |
commit: 018ddb2d12238da761b9fc8dfe2e6fd72d559474 |
2 |
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 12 15:48:56 2017 +0000 |
4 |
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 12 16:03:03 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=018ddb2d |
7 |
|
8 |
app-admin/cancd: fix non-POSIX init script |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org> |
12 |
|
13 |
app-admin/cancd/files/netconsole-init.d | 4 ++-- |
14 |
1 file changed, 2 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/app-admin/cancd/files/netconsole-init.d b/app-admin/cancd/files/netconsole-init.d |
17 |
index ba137e9ff0..68ad032f2b 100644 |
18 |
--- a/app-admin/cancd/files/netconsole-init.d |
19 |
+++ b/app-admin/cancd/files/netconsole-init.d |
20 |
@@ -1,5 +1,5 @@ |
21 |
#!/sbin/openrc-run |
22 |
-# Copyright 1999-2015 Gentoo Foundation |
23 |
+# Copyright 1999-2017 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
# $Id$ |
26 |
|
27 |
@@ -16,7 +16,7 @@ start() { |
28 |
if [ $ret -eq 0 ]; then |
29 |
TGT_MAC="$(LC_ALL=C arp -an -i ${DEVICE} ${TGT_IP} |egrep -v 'incomplete|no match' | awk '{print $4}')" |
30 |
fi |
31 |
- elif [ "${TGT_MAC}" == "broadcast" ]; then |
32 |
+ elif [ "${TGT_MAC}" = "broadcast" ]; then |
33 |
TGT_MAC='' |
34 |
fi |
35 |
ebegin "Starting netconsole ${SRC_IP}:${SRC_PORT}(${DEVICE}) -> ${TGT_IP}:${TGT_PORT} ${TGT_MAC}" |