diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-22 21:36:11 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-22 21:36:11 +0100 |
commit | a5b3a558fda84bc1e10edbd023344cafe24731d0 (patch) | |
tree | 8e36bc2f6ad36f4957661242fa3c50cc817dc8bd | |
parent | 1046b18b6f5d1efa50d5ae58eb3c99b95c3007bc (diff) | |
download | alpine-conf-a5b3a558fda84bc1e10edbd023344cafe24731d0.zip |
setup-interfaces: remove newlines from bridge-ports
-rwxr-xr-x | setup-interfaces.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-interfaces.in b/setup-interfaces.in index 544a43e..e5e7fc7 100755 --- a/setup-interfaces.in +++ b/setup-interfaces.in @@ -122,7 +122,7 @@ config_iface() { fi if [ -r "$iface.bridge_ports" ]; then - bridge_ports=$(sed 's/\n/ /' $iface.bridge_ports) + bridge_ports=$(echo $(cat $iface.bridge_ports)) echo "bridge_ports=\"$bridge_ports\"" >> $conf fi # use ipcalc to validate the address. we do accept /mask |