Skip to content

Commit

Permalink
Write out object & command,ip l s=ip link set
Browse files Browse the repository at this point in the history
Make prepare-suspend easier to read for those less familiar with the objects and commands available to `ip`.
  • Loading branch information
imme-emosol authored May 23, 2022
1 parent d3113cd commit 050cb11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubes-rpc/prepare-suspend
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if [ "$action" = "suspend" ]; then
if [ "$(cat "/sys/class/net/$intf/device/devtype" 2>/dev/null$)" = "vif" ]; then
continue
fi
ip l s "$intf" down
ip link set "$intf" down
done

# detach all drivers from PCI devices (the real ones, not emulated by qemu)
Expand Down

0 comments on commit 050cb11

Please sign in to comment.