summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-01-04 12:28:10 +0000
committerThierry Vignaud <tv@mageia.org>2012-01-04 12:28:10 +0000
commit62656376f67d5f44f7bd5ce1ce1ef2a2564355a8 (patch)
tree7332a7b5bad7d6b9d9aa038282c7832dabd00d1e
parent42dcc070db12250223dfccd366ed60b4c64dda50 (diff)
downloaddrakx-backup-do-not-use-62656376f67d5f44f7bd5ce1ce1ef2a2564355a8.tar
drakx-backup-do-not-use-62656376f67d5f44f7bd5ce1ce1ef2a2564355a8.tar.gz
drakx-backup-do-not-use-62656376f67d5f44f7bd5ce1ce1ef2a2564355a8.tar.bz2
drakx-backup-do-not-use-62656376f67d5f44f7bd5ce1ce1ef2a2564355a8.tar.xz
drakx-backup-do-not-use-62656376f67d5f44f7bd5ce1ce1ef2a2564355a8.zip
(start_udev) simplify through reusing MDK::Common
-rw-r--r--perl-install/install/install2.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index fefa1d2ad..729de11b8 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -292,8 +292,7 @@ sub start_udev() {
# Ensure /run is mounted
mkdir("/run", 0755);
run_program::run("mount -t tmpfs -o mode=0755,nosuid,nodev tmpfs /run");
- mkdir "/run/udev", 0755;
- mkdir "/run/udev/rules.d", 0755;
+ mkdir_p("/run/udev/rules.d");
$ENV{UDEVRULESD} = "/run/udev/rules.d";
# Start up udev and trigger cold plugs