16a46f9a9c
... instead of the ugly and incompatible /usr/share/qubes/regenerate_initramfs.sh script
9 lines
238 B
Bash
Executable File
9 lines
238 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Find all networking devices currenly installed...
|
|
HIDE_PCI=`lspci -mm -n | grep '^[^ ]* "02'|awk '{ ORS="";print "(" $1 ")";}'`
|
|
|
|
# ... and hide them so that Dom0 doesn't load drivers for them
|
|
modprobe pciback hide=$HIDE_PCI
|
|
|