summaryrefslogtreecommitdiffstats
path: root/build-root/deb/debian/vpp.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'build-root/deb/debian/vpp.postrm')
-rw-r--r--build-root/deb/debian/vpp.postrm2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-root/deb/debian/vpp.postrm b/build-root/deb/debian/vpp.postrm
index ac16a459d0f..24b4842fd0a 100644
--- a/build-root/deb/debian/vpp.postrm
+++ b/build-root/deb/debian/vpp.postrm
@@ -7,7 +7,7 @@ pci_dirs=`find /sys/bus/pci/drivers -type d -name igb_uio -o -name uio_pci_gener
for d in $pci_dirs; do
for f in ${d}/*; do
[ -e "${f}/config" ] || continue
- echo 1 > ${f}/remove
+ echo ${f##*/} > ${d}/unbind
basename `dirname ${f}` | xargs echo -n "Removing driver"; echo " for PCI ID" `basename ${f}`
removed=y
done