Changeset 141 for system


Ignore:
Timestamp:
Jan 21, 2009, 10:16:47 AM (16 years ago)
Author:
george
Message:
  • Odstraněno: Stará statistika.
Location:
system
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • system

    • Property svn:ignore
      •  

        old new  
        11nohup.out
         2statistic
  • system/generators/traffic_shaping_routerboard.php

    r124 r141  
    113113  echo("\n");
    114114}
    115 print_r($Commands);
     115//print_r($Commands);
    116116$Commands = addslashes(implode(';', $Commands));
    117117$Command = '/usr/bin/ssh -l admin-ssh -i /root/.ssh/id_dsa '.$Router.' "'.$Commands.'"';
    118 //echo($Command."\n");
     118echo($Command."\n");
    119119exec($Command, $Output);
    120120//array_pop($Output);
  • system/traffic-flow.php

    r111 r141  
    77$Commands[] = '/ip firewall filter {:foreach i in=[find] do={:put (\"src-address=\".[get \$i src-address].\" dst-address=\".[get \$i dst-address].\" bytes=\".[get \$i bytes])}}';
    88$Commands = implode(';', $Commands);
    9 $Command = '/usr/bin/ssh -l admin-ssh -i /root/.ssh/id_dsa rt-hajda-5 "'.$Commands.'"';
     9$Command = '/usr/bin/ssh -l admin-ssh -i /root/.ssh/id_dsa rt-hajda-0 "'.$Commands.'"';
    1010echo($Command."\n");
    1111//echo('Output: '.shell_exec($Command));
Note: See TracChangeset for help on using the changeset viewer.