From 72733a310d3cd67ec310c43ba40e0fca551caef1 Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Mon, 18 Sep 2023 23:14:54 +0900 Subject: [PATCH] Update alpineInit.sh --- Linux_reinstall/Alpine/alpineInit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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