summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-09 09:26:37 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-09 09:26:37 +0000
commit98b33e00633baca163b32c7eed1dc974f358dce2 (patch)
tree76ded4c7bbf6a9661e1a07b270d4d95fa834bc93 /perl-install
parent7c6be15f05548dc6ee3b0db59c23ae1c73478526 (diff)
downloaddrakx-98b33e00633baca163b32c7eed1dc974f358dce2.tar
drakx-98b33e00633baca163b32c7eed1dc974f358dce2.tar.gz
drakx-98b33e00633baca163b32c7eed1dc974f358dce2.tar.bz2
drakx-98b33e00633baca163b32c7eed1dc974f358dce2.tar.xz
drakx-98b33e00633baca163b32c7eed1dc974f358dce2.zip
added conditional restart of gpm on mouse configuration change.
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/mousedrake1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/mousedrake b/perl-install/standalone/mousedrake
index b144d2515..09d4d8d59 100755
--- a/perl-install/standalone/mousedrake
+++ b/perl-install/standalone/mousedrake
@@ -48,6 +48,7 @@ $mouse->{device} =
[ mouse::serial_ports ]) || goto begin if $mouse->{type} eq 'serial';
mouse::write_conf($mouse);
+-e "/var/lock/subsys/gpm" and system "service", "gpm", "restart";
$::isEmbedded ? kill(USR1, $::CCPID) : $in->exit(0);
goto begin;