diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-11-25 19:40:39 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-11-25 19:40:39 +0000 |
commit | 79a4da8c5a47e75ca266f14b53e996cecb79dd26 (patch) | |
tree | 5baf8abbb1efd464080e6bea8307a9865dc8c87a /move | |
parent | fdffedcb2129917f14353a5101c064127e8cc6a8 (diff) | |
download | drakx-79a4da8c5a47e75ca266f14b53e996cecb79dd26.tar drakx-79a4da8c5a47e75ca266f14b53e996cecb79dd26.tar.gz drakx-79a4da8c5a47e75ca266f14b53e996cecb79dd26.tar.bz2 drakx-79a4da8c5a47e75ca266f14b53e996cecb79dd26.tar.xz drakx-79a4da8c5a47e75ca266f14b53e996cecb79dd26.zip |
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
Diffstat (limited to 'move')
-rw-r--r-- | move/move.pm | 5 |
1 files changed, 1 insertions, 4 deletions
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'); |