* [gentoo-commits] proj/netifrc:master commit in: udev_helper/, net/
@ 2016-10-24 20:51 Robin H. Johnson
0 siblings, 0 replies; only message in thread
From: Robin H. Johnson @ 2016-10-24 20:51 UTC (permalink / raw
To: gentoo-commits
commit: 9bfa24d64ea686ff7416bfd990624a54788525a0
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 24 19:56:08 2016 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Mon Oct 24 19:56:08 2016 +0000
URL: https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=9bfa24d6
bashisms: Fix bashisms for dash support.
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
net/bonding.sh | 2 +-
udev_helper/net.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/bonding.sh b/net/bonding.sh
index ba75239..d0ed319 100644
--- a/net/bonding.sh
+++ b/net/bonding.sh
@@ -82,7 +82,7 @@ bonding_pre_start()
n=${x##*/}
eval s=\$${n}_${IFVAR}
# skip mode and miimon
- [ "${n}" == "mode" -o "${n}" == "miimon" ] && continue
+ [ "${n}" = "mode" -o "${n}" = "miimon" ] && continue
if [ -n "${s}" ]; then
einfo "Setting ${n}: ${s}"
echo "${s}" >"${x}" || \
diff --git a/udev_helper/net.sh b/udev_helper/net.sh
index 85b304b..b15b187 100644
--- a/udev_helper/net.sh
+++ b/udev_helper/net.sh
@@ -48,6 +48,6 @@ fi
# If we're stopping then sleep for a bit in-case a daemon is monitoring
# the interface. This to try and ensure we stop after they do.
-[ "${ACTION}" == "stop" ] && sleep 2
+[ "${ACTION}" = "stop" ] && sleep 2
IN_HOTPLUG=1 "${SCRIPT}" --quiet "${ACTION}"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-10-24 20:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-24 20:51 [gentoo-commits] proj/netifrc:master commit in: udev_helper/, net/ Robin H. Johnson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox