nano-tetra-packages-community/network/aircrack-ng-hak5/patches/001-fix_lspci_errors_pineapple.patch
Sebastian Kinne 00e7f999f1
Update aircrack-ng to aircrack-ng-hak5
This allows easier maintenance and avoids naming conflicts
with the official aircrack-ng package

Signed-off-by: Sebastian Kinne <contact@sebkinne.com>
2018-02-23 13:00:04 +11:00

32 lines
844 B
Diff

diff -Nur a/scripts/airmon-ng b/scripts/airmon-ng
--- a/scripts/airmon-ng 2017-12-22 09:45:09.817778891 +1100
+++ b/scripts/airmon-ng 2017-12-22 09:54:13.417783325 +1100
@@ -105,16 +105,17 @@
LSUSB=0
fi
-if [ -d /sys/bus/pci ] || [ -d /sys/bus/pci_express ] || [ -d /proc/bus/pci ]; then
- if [ ! -x "$(command -v lspci 2>&1)" ]; then
- printf "Please install lspci from your distro's package manager.\n"
- exit 1
- else
- LSPCI=1
- fi
-else
- LSPCI=0
-fi
+LSPCI=0
+#if [ -d /sys/bus/pci ] || [ -d /sys/bus/pci_express ] || [ -d /proc/bus/pci ]; then
+# if [ ! -x "$(command -v lspci 2>&1)" ]; then
+# printf "Please install lspci from your distro's package manager.\n"
+# exit 1
+# else
+# LSPCI=1
+# fi
+#else
+# LSPCI=0
+#fi
if [ -f /proc/modules ] || [ -d /sys/module ]; then
if [ ! -x "$(command -v modprobe 2>&1)" ]; then