From 596a3ebd8e502101248d57d1a47c504a831acbf2 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Mon, 29 Apr 2013 02:48:18 +0200 Subject: [PATCH] network: do not fail when eth0 doesn't exists It can be perfectly right case for wireless-only netvm. --- vm-systemd/network-proxy-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm-systemd/network-proxy-setup.sh b/vm-systemd/network-proxy-setup.sh index ce91acb..020edb2 100755 --- a/vm-systemd/network-proxy-setup.sh +++ b/vm-systemd/network-proxy-setup.sh @@ -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