summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-05 00:17:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-05 00:17:56 +0000
commit7883dbf0c8bb323e15d08d07dc4d244b6b5cb3b8 (patch)
tree8fb76bc9421a594ef9a54429deefd57579748da0 /perl-install
parent7be6a2b9bffb4c57e689e128209aa875bb5459d7 (diff)
downloaddrakx-backup-do-not-use-7883dbf0c8bb323e15d08d07dc4d244b6b5cb3b8.tar
drakx-backup-do-not-use-7883dbf0c8bb323e15d08d07dc4d244b6b5cb3b8.tar.gz
drakx-backup-do-not-use-7883dbf0c8bb323e15d08d07dc4d244b6b5cb3b8.tar.bz2
drakx-backup-do-not-use-7883dbf0c8bb323e15d08d07dc4d244b6b5cb3b8.tar.xz
drakx-backup-do-not-use-7883dbf0c8bb323e15d08d07dc4d244b6b5cb3b8.zip
log the "chkconfig --del gpm" when there is a serial mouse
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm5
1 files changed, 4 insertions, 1 deletions
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");