summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xperl-install/standalone/service_harddrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index 8acd80e12..655cd2c82 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -26,7 +26,7 @@ modules::mergein_conf('/etc/modules.conf');
my $prev_kernel = { getVarsFromSh("$hw_sysconfdir/kernel") }->{KERNEL};
my $curr_kernel = c::kernel_version();
$curr_kernel =~ s/(^\d+\.\d+).*/\1/;
-setVarsInSh("$hw_sysconfdir/kernel", KERNEL => $curr_kernel);
+setVarsInSh("$hw_sysconfdir/kernel", { KERNEL => $curr_kernel });
system("mousedrake --auto") if $curr_kernel ne $prev_kernel;
if (find { $_->{driver} =~ /Card:NVIDIA/ } detect_devices::probeall()) {