[wifi] capture: include iwconfig output (Linux)
On Linux, include the iwconfig output in the archive.
This commit is contained in:
parent
9f2bb020fa
commit
b1c237a1f5
|
@ -167,6 +167,8 @@ gather_system_information()
|
||||||
uname -a >"$DESTDIR"/uname-a
|
uname -a >"$DESTDIR"/uname-a
|
||||||
# Wi-Fi interface information:
|
# Wi-Fi interface information:
|
||||||
ifconfig $IFACE >"$DESTDIR"/ifconfig_$IFACE
|
ifconfig $IFACE >"$DESTDIR"/ifconfig_$IFACE
|
||||||
|
[ $OS = Linux ] \
|
||||||
|
&& iwconfig $IFACE >"$DESTDIR"/iwconfig_$IFACE
|
||||||
# PCI devices:
|
# PCI devices:
|
||||||
which lspci >/dev/null \
|
which lspci >/dev/null \
|
||||||
&& lspci >"$DESTDIR"/lspci \
|
&& lspci >"$DESTDIR"/lspci \
|
||||||
|
|
Loading…
Reference in New Issue