Changeset 213 for trunk/system/generators/dhcp_routerboard.php
- Timestamp:
- May 10, 2009, 12:30:09 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/generators/dhcp_routerboard.php
r208 r213 7 7 while($Subnet = $DbResult->fetch_assoc()) 8 8 { 9 //print_r($Subnet);9 echo($Subnet['DHCP']); 10 10 $I = explode('.', $Subnet['AddressRange']); 11 11 $I = $I[2]; … … 18 18 } 19 19 $Commands = implode(';', $Commands); 20 $Command = '/usr/bin/ssh - l '.$Config['MainRouter']['UserName'].' -i id_dsa '.$Subnet['DHCP'].' "'.$Commands.'"';20 $Command = '/usr/bin/ssh -o ConnectTimeout=5 -l '.$Config['MainRouter']['UserName'].' -i id_dsa '.$Subnet['DHCP'].' "'.$Commands.'"'; 21 21 //echo($Command."\n"); 22 22 $Output = '';
Note:
See TracChangeset
for help on using the changeset viewer.