Commit 0dd469a4 authored by Mike Hibler's avatar Mike Hibler

Add a five second timeout for connecting to subbosses.

parent b425b951
......@@ -560,7 +560,7 @@ sub RestartSubbossDhcp($$)
{
my ($subboss, $restart) = @_;
my $cmd = "ssh $subboss @prefix@/sbin/subboss_dhcpd_makeconf";
my $cmd = "ssh -o ConnectTimeout=5 $subboss @prefix@/sbin/subboss_dhcpd_makeconf";
$cmd .= " -r" if ($restart);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment