624 388 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#
# Increase SHUTDOWN timeout to 360 seconds for RELOAD.
# New HP machines with 4 25Gb interfaces take forever to get through BIOS.
# (where "forever" > 120 seconds).
#
use strict;
use libdb;

sub DoUpdate($$$)
{
    my ($dbhandle, $dbname, $version) = @_;

    DBQueryFatal("UPDATE state_timeouts SET timeout=360 ".
		 "WHERE op_mode='RELOAD' AND state='SHUTDOWN'");

    return 0;
}
1;