From 79a4da8c5a47e75ca266f14b53e996cecb79dd26 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 25 Nov 2003 19:40:39 +0000 Subject: insmod uses glibc syslog facility for outputting error messages, thus we need to start syslogd very soon to not end up with silly parport_pc busy messages on console #1 --- move/move.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'move') diff --git a/move/move.pm b/move/move.pm index 633dab83c..5093548a4 100644 --- a/move/move.pm +++ b/move/move.pm @@ -127,6 +127,7 @@ sub init { $key_disabled = -e '/image/move/key_disabled'; + run_program::run('/sbin/service', 'syslog', 'start'); system('sysctl -w kernel.hotplug="/bin/true"'); modules::load_category('bus/usb'); eval { modules::load('usb-storage', 'sd_mod') }; @@ -389,8 +390,6 @@ sub install2::configMove { modules::load_category('multimedia/sound'); enable_service('sound'); - enable_service('syslog'); - $o->{useSupermount} = 1; fs::set_removable_mntpoints($o->{all_hds}); fs::set_all_default_options($o->{all_hds}, %$o, lang::fs_options($o->{locale})); @@ -494,8 +493,6 @@ sub install2::startMove { touch '/var/run/utmp'; run_program::run('runlevel_set', '5'); member($_, qw(xfs dm devfsd)) or run_program::run($_, 'start') foreach glob('/etc/rc.d/rc5.d/*'); - run_program::run('killall', 'minilogd'); - run_program::run('/sbin/service', 'syslog', 'restart'); #- otherwise minilogd will strike back #- allow user customisation of startup through /etc/rc.d/rc.local run_program::run('/etc/rc.d/rc.local'); -- cgit v1.2.1