From 2f96f5a5a671adc6887fce281ce23f1a3f903c5f Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 27 Dec 2013 15:55:36 +0100 Subject: adapt to new /etc/sysctl.d --- lib/keyboard.pm | 2 +- lib/mouse.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/keyboard.pm b/lib/keyboard.pm index 7a7320b..25959d4 100644 --- a/lib/keyboard.pm +++ b/lib/keyboard.pm @@ -621,7 +621,7 @@ sub write { substInFile { $_ = '' if /^\Qdev.mac_hid.keyboard_sends_linux_keycodes/; $_ .= $s if eof; - } "$::prefix/etc/sysctl.conf"; + } "$::prefix/etc/sysctl.d/51-drakx.conf"; } else { run_program::rooted($::prefix, 'dumpkeys', '>', '/etc/sysconfig/console/default.kmap') or log::l("dumpkeys failed"); } diff --git a/lib/mouse.pm b/lib/mouse.pm index affe907..374f14b 100644 --- a/lib/mouse.pm +++ b/lib/mouse.pm @@ -189,7 +189,7 @@ sub write { substInFile { $_ = '' if /^\Qdev.mac_hid.mouse_button/; $_ .= $s if eof; - } "$::prefix/etc/sysctl.conf"; + } "$::prefix/etc/sysctl.d/51-drakx.conf"; } } -- cgit v1.2.1