diff options
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rwxr-xr-x | perl-install/standalone/service_harddrake | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index d628f0f5a..e0b199196 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,5 +1,6 @@ - harddrake service: o cpufreq performance governor is no longer a module + o reduce default timeout from 10 to 2mn (mga#4772) Version 14.1 - 23 March 2012 diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index e575f6098..7c8be09fd 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -27,6 +27,10 @@ use Xconfig::card; use Xconfig::various; use modules; use Storable qw(store retrieve); +use run_program; + +# timeout runaway processes after 2mn: +run_program::set_default_timeout(2*60); my $force = member('--force', @ARGV); |