diff options
author | Arnaud Patard <rtp@mageia.org> | 2012-04-30 07:54:17 +0000 |
---|---|---|
committer | Arnaud Patard <rtp@mageia.org> | 2012-04-30 07:54:17 +0000 |
commit | a242160f88947fa6d13c599fbbcaa803f3d35659 (patch) | |
tree | 1479de1c05abbcb09bde5a14e61e77ace34b27c5 /perl-install/install | |
parent | 104b03aea1d146156bf617bfa90ae9296511c1cc (diff) | |
download | drakx-backup-do-not-use-a242160f88947fa6d13c599fbbcaa803f3d35659.tar drakx-backup-do-not-use-a242160f88947fa6d13c599fbbcaa803f3d35659.tar.gz drakx-backup-do-not-use-a242160f88947fa6d13c599fbbcaa803f3d35659.tar.bz2 drakx-backup-do-not-use-a242160f88947fa6d13c599fbbcaa803f3d35659.tar.xz drakx-backup-do-not-use-a242160f88947fa6d13c599fbbcaa803f3d35659.zip |
- fix rebooting on autoinstall
Diffstat (limited to 'perl-install/install')
-rw-r--r-- | perl-install/install/install2.pm | 5 |
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'; } #-###################################################################################### |