mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
7749b79e2f
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);
|
|
?>
|