opti => une seule fois ssh
This commit is contained in:
parent
4a027ed7b2
commit
a4bf40af2e
@ -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 {
|
||||
|
Reference in New Issue
Block a user