Ignore:
Timestamp:
Mar 24, 2009, 7:52:02 PM (16 years ago)
Author:
george
Message:
  • Upraveno: Poopravené konfigurační skripty ve starém umístění.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • system/generators/netwatch.php

    r111 r172  
    11<?php
    22include_once('/a/www/centrala/global.php');
     3$Router = '192.168.0.11';
    34
    45$Commands = array();
     
    1415//}
    1516$Commands = implode(';', $Commands);
    16 $Command = '/usr/bin/ssh -l admin-ssh -i /root/.ssh/id_dsa rt-hajda-0 "'.$Commands.'"';
     17$Command = '/usr/bin/ssh -l admin-ssh -i /root/.ssh/id_dsa '.$Router.' "'.$Commands.'"';
    1718echo($Command);
    1819exec($Command, $Output);
Note: See TracChangeset for help on using the changeset viewer.