summaryrefslogtreecommitdiffstats
path: root/tools/mousedrake
diff options
context:
space:
mode:
authorAngelo Naselli <angelo.naselli@softeco.it>2014-01-09 13:18:27 +0100
committerAngelo Naselli <angelo.naselli@softeco.it>2014-01-09 13:18:27 +0100
commit056d24992a291c2f84636595a3c78a929dc97dc1 (patch)
treefe4efc59dea9ed6bfd91e886e286165e814dd090 /tools/mousedrake
parent12e24ca773ffaf5b3e8d5b67a3c593c4a1547151 (diff)
downloaddrakx-kbd-mouse-x11-056d24992a291c2f84636595a3c78a929dc97dc1.tar
drakx-kbd-mouse-x11-056d24992a291c2f84636595a3c78a929dc97dc1.tar.gz
drakx-kbd-mouse-x11-056d24992a291c2f84636595a3c78a929dc97dc1.tar.bz2
drakx-kbd-mouse-x11-056d24992a291c2f84636595a3c78a929dc97dc1.tar.xz
drakx-kbd-mouse-x11-056d24992a291c2f84636595a3c78a929dc97dc1.zip
gpm now is managed in systemd and it does not use a lock file anymore
Diffstat (limited to 'tools/mousedrake')
-rwxr-xr-xtools/mousedrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mousedrake b/tools/mousedrake
index 679c512..a65816d 100755
--- a/tools/mousedrake
+++ b/tools/mousedrake
@@ -33,6 +33,6 @@ if (!$mouse || !$::auto) {
mouse::write_conf($in->do_pkgs, $modules_conf, $mouse, 1);
-system('service', 'gpm', 'restart') if -e '/var/lock/subsys/gpm';
+system('systemctl', 'try-restart', 'gpm.service') if -e '/usr/lib/systemd/system/gpm.service';
$in->exit(0);