mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Currently saves to files in /etc/raspap/networking, still need to build something to generate a working config for dhcpcd
		
			
				
	
	
		
			5 lines
		
	
	
		
			101 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			101 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
|     exec("ls /sys/class/net | grep -v lo", $interfaces);
 | |
|     echo json_encode($interfaces);
 | |
| ?>
 |