summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-12-27 15:55:36 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-27 15:55:36 +0100
commit2f96f5a5a671adc6887fce281ce23f1a3f903c5f (patch)
tree6453664fa320c49c7078dce8d575ff4e31cb15a0 /lib
parent815409bd3c61398906682390e3e9deaa8d801bcc (diff)
downloaddrakx-kbd-mouse-x11-2f96f5a5a671adc6887fce281ce23f1a3f903c5f.tar
drakx-kbd-mouse-x11-2f96f5a5a671adc6887fce281ce23f1a3f903c5f.tar.gz
drakx-kbd-mouse-x11-2f96f5a5a671adc6887fce281ce23f1a3f903c5f.tar.bz2
drakx-kbd-mouse-x11-2f96f5a5a671adc6887fce281ce23f1a3f903c5f.tar.xz
drakx-kbd-mouse-x11-2f96f5a5a671adc6887fce281ce23f1a3f903c5f.zip
adapt to new /etc/sysctl.d
Diffstat (limited to 'lib')
-rw-r--r--lib/keyboard.pm2
-rw-r--r--lib/mouse.pm2
2 files changed, 2 insertions, 2 deletions
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";
}
}