summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--lib/keyboard.pm2
-rw-r--r--lib/mouse.pm2
3 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 3fbe62e..8d4271d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- adapt to new /etc/sysctl.d
+
Version 1.0 - 23 November 2013
- port to Gtk+3
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";
}
}