Decline to detect wireless when lspci is absent.

This commit is contained in:
2026-08-31 12:46:55 -04:00
parent 93d8296e49
commit 5b398910ca
+2
View File
@@ -24,10 +24,12 @@ if( ${#battery_locations} > 0 ) then
end
endif
if ( -e `which lspci` ) then
set wireless_cards=( `lspci | grep '\(WiFi\|Wireless\)'` )
if( $#wireless_cards > 0 ) then
setenv CSHENV_ENABLE_PROMPT_WIFI
endif
endif
# Set the acknowledgement bit, essentially
setenv CSHENV_SYSTEM_CONFIGURED Linux