opti => une seule fois ssh

master
Philippe Pittoli 2014-05-08 14:45:18 +02:00
parent 4a027ed7b2
commit a4bf40af2e
1 changed files with 1 additions and 5 deletions

View File

@ -12,11 +12,7 @@ sub reload_sec {
system('ssh -p ' . $self->data->sshportsec . ' '
. $self->data->sshusersec . '@' . $self->data->sshhostsec
. ' sudo nsdc rebuild 2>/dev/null 1>/dev/null');
system('ssh -p ' . $self->data->sshportsec . ' '
. $self->data->sshusersec . '@' . $self->data->sshhostsec
. ' sudo nsdc reload 2>/dev/null 1>/dev/null');
. ' sudo nsdc rebuild 2>/dev/null 1>/dev/null && sudo nsdc reload 2>/dev/null 1>/dev/null');
}
sub _reload_conf {