mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Merge pull request #846 from glaszig/sort-interfaces
sort interface list for hostapd
This commit is contained in:
		| @@ -27,6 +27,8 @@ function DisplayHostAPDConfig() | ||||
|     $arrEncType = array('TKIP' => 'TKIP', 'CCMP' => 'CCMP', 'TKIP CCMP' => 'TKIP+CCMP'); | ||||
|     $managedModeEnabled = false; | ||||
|     exec("ip -o link show | awk -F': ' '{print $2}'", $interfaces); | ||||
|     sort($interfaces); | ||||
|  | ||||
|     exec("iw reg get | awk '/country / { sub(/:/,\"\",$2); print $2 }'", $country_code); | ||||
|  | ||||
|     if (!RASPI_MONITOR_ENABLED) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user