network: do not fail when eth0 doesn't exists
It can be perfectly right case for wireless-only netvm.
This commit is contained in:
parent
8c9433fc00
commit
596a3ebd8e
@ -11,5 +11,5 @@ if [ "x$network" != "x" ]; then
|
||||
echo "NS2=$secondary_dns" >> /var/run/qubes/qubes-ns
|
||||
/usr/lib/qubes/qubes-setup-dnat-to-ns
|
||||
echo "1" > /proc/sys/net/ipv4/ip_forward
|
||||
/sbin/ethtool -K eth0 sg off
|
||||
/sbin/ethtool -K eth0 sg off || :
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user