summaryrefslogtreecommitdiffstats
path: root/perl-install/install/install2.pm
diff options
context:
space:
mode:
authorArnaud Patard <rtp@mageia.org>2012-04-30 07:54:17 +0000
committerArnaud Patard <rtp@mageia.org>2012-04-30 07:54:17 +0000
commit411b42978a7cbbf70d47d474460ec86f5e300015 (patch)
tree1479de1c05abbcb09bde5a14e61e77ace34b27c5 /perl-install/install/install2.pm
parent83b8f305f8fe1d4ed0c15c50b0d7ead8aab0e218 (diff)
downloaddrakx-411b42978a7cbbf70d47d474460ec86f5e300015.tar
drakx-411b42978a7cbbf70d47d474460ec86f5e300015.tar.gz
drakx-411b42978a7cbbf70d47d474460ec86f5e300015.tar.bz2
drakx-411b42978a7cbbf70d47d474460ec86f5e300015.tar.xz
drakx-411b42978a7cbbf70d47d474460ec86f5e300015.zip
- fix rebooting on autoinstall
Diffstat (limited to 'perl-install/install/install2.pm')
-rw-r--r--perl-install/install/install2.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 44d9bf916..99a122e03 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -311,9 +311,10 @@ sub start_udev() {
}
sub stop_udev() {
- kill 15, fuzzy_pidofs('^udevd\b');
+ kill 15, fuzzy_pidofs('udevd');
+ sleep(2);
require fs::mount;
- fs::mount::umount($_) foreach '/dev/pts', '/dev/shm', '/run', '/dev';
+ fs::mount::umount($_) foreach '/dev/pts', '/dev/shm', '/run';
}
#-######################################################################################