mirror of
https://github.com/leitbogioro/Tools.git
synced 2024-11-15 13:44:50 +08:00
Update alpineInit.sh
This commit is contained in:
parent
18c7411eb1
commit
72733a310d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue