aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-09-19 09:00:29 +0200
committerLukas Nykryn <lnykryn@redhat.com>2014-09-19 09:01:02 +0200
commit5f04c25515f637a5b8ecd329e14af0e6fe345d42 (patch)
treeab7fc3edd1134340a07eace1af8cffc947436ded /sysconfig
parent8129ceafb97cff916cf9663f848596219f736973 (diff)
downloadinitscripts-5f04c25515f637a5b8ecd329e14af0e6fe345d42.tar
initscripts-5f04c25515f637a5b8ecd329e14af0e6fe345d42.tar.gz
initscripts-5f04c25515f637a5b8ecd329e14af0e6fe345d42.tar.bz2
initscripts-5f04c25515f637a5b8ecd329e14af0e6fe345d42.tar.xz
initscripts-5f04c25515f637a5b8ecd329e14af0e6fe345d42.zip
network-functions: grep->fgrep in bonding masters matching
Diffstat (limited to 'sysconfig')
-rw-r--r--sysconfig/network-scripts/network-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index e53270d2..fa62dddd 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -461,7 +461,7 @@ phy_wireless_device ()
install_bonding_driver ()
{
[ ! -f /sys/class/net/bonding_masters ] && ( modprobe bonding || return 1 )
- if ! grep -sqx "$1" /sys/class/net/bonding_masters; then
+ if ! fgrep -sqx "$1" /sys/class/net/bonding_masters; then
echo "+$1" > /sys/class/net/bonding_masters 2>/dev/null
fi
(