From 7883dbf0c8bb323e15d08d07dc4d244b6b5cb3b8 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 5 Feb 2002 00:17:56 +0000 Subject: log the "chkconfig --del gpm" when there is a serial mouse --- perl-install/install_steps.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'perl-install/install_steps.pm') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 5048efeec..6e5589f1e 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -425,7 +425,10 @@ Consoles 1,3,4,7 may also contain interesting information"; run_program::rooted($o->{prefix}, "chkconfig", "--add", $_) foreach qw(random netfs network rawdevices sound kheader usb keytable syslog crond portmap); - run_program::rooted($o->{prefix}, "chkconfig", "--del", "gpm") if $o->{mouse}{device} =~ /ttyS/; + if ($o->{mouse}{device} =~ /ttyS/) { + log::l("disabling gpm for serial mice (doesn't get along nicely with X)"); + run_program::rooted($o->{prefix}, "chkconfig", "--del", "gpm") + } #- call update-menus at the end of package installation run_program::rooted($o->{prefix}, "update-menus"); -- cgit v1.2.1