Changeset 975 for trunk/Modules/NetworkConfigAirOS/Generators/Signal.php
- Timestamp:
- Jun 30, 2025, 11:36:29 AM (14 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigAirOS/Generators/Signal.php
r929 r975 12 12 // Load netwatch status from all DHCP routers 13 13 $DbResult3 = $this->Database->query('SELECT `Id`, `LoginName`, `LoginPassword`, '. 14 '(SELECT `LocalIP` FROM `NetworkInterface` WHERE `NetworkInterface`.`Device` = `NetworkDevice`.`Id` LIMIT 1) AS `LocalIP` '.14 '(SELECT `LocalIP` FROM `NetworkInterface` WHERE `NetworkInterface`.`Device` = `NetworkDevice`.`Id` LIMIT 1) AS `LocalIP`, `Name` '. 15 15 'FROM `NetworkDevice` WHERE (`API` = 2) AND (`Used` = 1)'); 16 16 while ($Device = $DbResult3->fetch_assoc()) 17 17 { 18 echo($Device['LocalIP']. "");18 echo($Device['LocalIP'].' ('.$Device['Name']."): "); 19 19 $SSHClient = new SSHClient($Device['LocalIP'], $Device['LoginName'], $Device['LoginPassword']); 20 20 //$SSHClient->Debug = true; … … 23 23 { 24 24 $Array = json_decode(implode("\n", $Result), true); 25 echo('-');26 25 foreach ($Array as $Properties) 27 26 {
Note:
See TracChangeset
for help on using the changeset viewer.