network/net-genrules.sh: remove some bashisms
authorHarald Hoyer <harald@redhat.com>
Wed, 30 Jan 2013 16:22:25 +0000 (17:22 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 30 Jan 2013 16:22:25 +0000 (17:22 +0100)
modules.d/40network/net-genrules.sh

index 133c457..f4652b9 100755 (executable)
@@ -24,24 +24,24 @@ fi
     # bridge: attempt only the defined interface
     if [ -e /tmp/bridge.info ]; then
         . /tmp/bridge.info
-        IFACES+=" ${ethnames%% *}"
+        IFACES="$IFACES ${ethnames%% *}"
     fi
 
     # bond: attempt only the defined interface (override bridge defines)
     if [ -e /tmp/bond.info ]; then
         . /tmp/bond.info
         # It is enough to fire up only one
-        IFACES+=" ${bondslaves%% *}"
+        IFACES="$IFACES ${bondslaves%% *}"
     fi
 
     if [ -e /tmp/team.info ]; then
         . /tmp/team.info
-        IFACES+=" ${teamslaves}"
+        IFACES="$IFACES ${teamslaves}"
     fi
 
     if [ -e /tmp/vlan.info ]; then
         . /tmp/vlan.info
-        IFACES+=" $phydevice"
+        IFACES="$IFACES $phydevice"
     fi
 
     if [ -z "$IFACES" ]; then