Another way to detect wifi cards.
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ if( ${#battery_locations} > 0 ) then
|
||||
end
|
||||
endif
|
||||
|
||||
set wireless_cards=( `lspci | grep Wireless` )
|
||||
set wireless_cards=( `lspci | grep '\(WiFi\|Wireless\)'` )
|
||||
if( $#wireless_cards > 0 ) then
|
||||
setenv CSHENV_ENABLE_PROMPT_WIFI
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user