Commit a5b3a558 authored by Natanael Copa's avatar Natanael Copa
Browse files

setup-interfaces: remove newlines from bridge-ports

parent 1046b18b
......@@ -122,7 +122,7 @@ config_iface() {
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
# use ipcalc to validate the address. we do accept /mask
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment