From 440207e11b86fa9756b9b7f2454ab716e756387f Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 23 Nov 2000 18:17:46 +0000 Subject: added tempory fix for initscripts %post. --- perl-install/install_steps.pm | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'perl-install/install_steps.pm') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index e07cba7ac..55be9a166 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -404,6 +404,15 @@ Consoles 1,3,4,7 may also contain interesting information"; any::writeandclean_ldsoconf($o->{prefix}); log::l("before install packages, after writing ld.so.conf"); + #- make sure the services of initscripts have been enabled (or a catastrophic dead will occur). + #- to keep while initscript not cleaned. + run_program::rooted($o->{prefix}, "chkconfig", "--add", "random"); + run_program::rooted($o->{prefix}, "chkconfig", "--add", "netfs"); + run_program::rooted($o->{prefix}, "chkconfig", "--add", "network"); + run_program::rooted($o->{prefix}, "chkconfig", "--add", "rawdevices"); + run_program::rooted($o->{prefix}, "chkconfig", "--add", "sound"); + run_program::rooted($o->{prefix}, "chkconfig", "--add", "kheader"); + #- remove the nasty acon... run_program::rooted($o->{prefix}, "chkconfig", "--del", "acon") unless $ENV{LANGUAGE} =~ /ar/; -- cgit v1.2.1