summaryrefslogtreecommitdiffstats
path: root/move/move.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-11-20 10:31:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-11-20 10:31:36 +0000
commit9e1292db09055ccf0fc2151dd7a0c78812e7ee92 (patch)
tree2ad755bc529413abe3fadabfded3bbf629a64754 /move/move.pm
parent91e8b75a9657144cd3c56cb14b036e97933af7a6 (diff)
downloaddrakx-backup-do-not-use-9e1292db09055ccf0fc2151dd7a0c78812e7ee92.tar
drakx-backup-do-not-use-9e1292db09055ccf0fc2151dd7a0c78812e7ee92.tar.gz
drakx-backup-do-not-use-9e1292db09055ccf0fc2151dd7a0c78812e7ee92.tar.bz2
drakx-backup-do-not-use-9e1292db09055ccf0fc2151dd7a0c78812e7ee92.tar.xz
drakx-backup-do-not-use-9e1292db09055ccf0fc2151dd7a0c78812e7ee92.zip
- run "service sound start" in background
- no need to set $o->{fstab} - move back install_TrueFS_in_home() call in startMove (it doesn't rely on $o->{fstab} anymore)
Diffstat (limited to 'move/move.pm')
-rw-r--r--move/move.pm9
1 files changed, 4 insertions, 5 deletions
diff --git a/move/move.pm b/move/move.pm
index 63dde3ba4..5570e545c 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -86,7 +86,7 @@ sub init {
#- because programs most often won't try to create the missing subdir before trying
#- to write a file, leading to obscure unexpected failures
-d $_ or mkdir_p $_ foreach chomp_(cat_('/image/move/directories-to-create'));
-
+
#- remaining non existent /etc files are symlinked from the RO volume,
#- better to have them RO than non existent.
#- PB: problems arise when programs try to open then in O_WRONLY
@@ -327,9 +327,7 @@ sub install2::configMove {
install_steps_interactive::summaryBefore($o);
modules::load_category('multimedia/sound');
- run_program::run('service', 'sound', 'start');
-
- install_TrueFS_in_home($o);
+ run_program::raw({ detach => 1 }, 'service', 'sound', 'start');
$o->{useSupermount} = 1;
fs::set_removable_mntpoints($o->{all_hds});
@@ -338,7 +336,6 @@ sub install2::configMove {
require install_any;
install_any::write_fstab($o);
$_->{mntpoint} && !$_->{isMounted} and run_program::run('mount', $_->{mntpoint}) foreach fsedit::get_really_all_fstab($o->{all_hds});
- $o->{fstab} = [ fsedit::get_all_fstab($o->{all_hds}) ];
modules::write_conf('');
detect_devices::install_addons('');
@@ -412,6 +409,8 @@ sub install2::startMove {
$root->draw_pixbuf(Gtk2::Gdk::GC->new($root), $pixbuf, 0, 0, ($::rootwidth - $w) / 2, ($::rootheight - $h)/2, $w, $h, 'none', 0, 0);
ugtk2::gtkflush();
+ install_TrueFS_in_home($o);
+
run_program::run('/sbin/service', 'syslog', 'start');
run_program::run('killall', 'minilogd'); #- get rid of minilogd
run_program::run('/sbin/service', 'syslog', 'restart'); #- otherwise minilogd will strike back