diff --git a/qubes-rpc/prepare-suspend b/qubes-rpc/prepare-suspend index 8e8e738..975e06f 100755 --- a/qubes-rpc/prepare-suspend +++ b/qubes-rpc/prepare-suspend @@ -19,6 +19,9 @@ if [ x"$action" == x"suspend" ]; then service NetworkManager stop # Force interfaces down, just in case when NM didn't done it for if in `ls /sys/class/net|grep -v "lo\|vif"`; do + if [ "`cat /sys/class/net/$if/device/devtype 2>/dev/null`" == "vif" ]; then + continue + fi ip l s $if down done LOADED_MODULES=""