diff --git a/Linux_reinstall/Alpine/alpineInit.sh b/Linux_reinstall/Alpine/alpineInit.sh index 9a6eccc..164254c 100644 --- a/Linux_reinstall/Alpine/alpineInit.sh +++ b/Linux_reinstall/Alpine/alpineInit.sh @@ -79,7 +79,7 @@ sed -ri 's/MASK/'${MASK}'/g' /etc/network/interfaces sed -ri 's/netmask '${MASK}'/netmask '${actualIp4Subnet}'/g' /etc/network/interfaces sed -ri 's/GATE/'${GATE}'/g' /etc/network/interfaces if [[ "$iAddrNum" -ge "2" ]]; then - echo -e ${writeIpsCmd} >> /etc/network/interfaces + echo -e "${writeIpsCmd}" >> /etc/network/interfaces fi sed -ri 's/ip6Addr/'${ip6Addr}'/g' /etc/network/interfaces sed -ri 's/ip6Mask/'${ip6Mask}'/g' /etc/network/interfaces