mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Implemented start of web interface to update Static IP addresses or use DHCP.
Currently saves to files in /etc/raspap/networking, still need to build something to generate a working config for dhcpcd
This commit is contained in:
4
ajax/networking/get_all_interfaces.php
Normal file
4
ajax/networking/get_all_interfaces.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
exec("ls /sys/class/net | grep -v lo", $interfaces);
|
||||
echo json_encode($interfaces);
|
||||
?>
|
Reference in New Issue
Block a user