Simplify Routes rule
This commit is contained in:
parent
dfacf4fd86
commit
31dcc966bf
1 changed files with 1 additions and 1 deletions
2
vps2arch
2
vps2arch
|
@ -197,7 +197,7 @@ configure_network() {
|
||||||
Address=($ip)
|
Address=($ip)
|
||||||
EOF
|
EOF
|
||||||
if [ "$gateway" = "0.0.0.0" ]; then
|
if [ "$gateway" = "0.0.0.0" ]; then
|
||||||
echo 'Routes=("default dev $Interface")'
|
echo 'Routes=(0.0.0.0/0)'
|
||||||
else
|
else
|
||||||
echo "Gateway=$gateway"
|
echo "Gateway=$gateway"
|
||||||
fi >> /etc/netctl/default
|
fi >> /etc/netctl/default
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue