From: Harald Hoyer Date: Wed, 30 Jan 2013 16:22:25 +0000 (+0100) Subject: network/net-genrules.sh: remove some bashisms X-Git-Tag: 026~94 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=14fcfbec3e57dee8aaf18128a41033185584b203;p=thirdparty%2Fdracut.git network/net-genrules.sh: remove some bashisms --- diff --git a/modules.d/40network/net-genrules.sh b/modules.d/40network/net-genrules.sh index 133c457c1..f4652b904 100755 --- a/modules.d/40network/net-genrules.sh +++ b/modules.d/40network/net-genrules.sh @@ -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