3
0

opti => une seule fois ssh

This commit is contained in:
Philippe Pittoli 2014-05-08 14:45:18 +02:00
parent 4a027ed7b2
commit a4bf40af2e

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 {