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
commit383641098af431436ff719df8545f9589c79fee1 (patch)
tree7332a7b5bad7d6b9d9aa038282c7832dabd00d1e
parent55ed51744678614c9aa6fa5c2c880a65ad25c4b9 (diff)
downloaddrakx-383641098af431436ff719df8545f9589c79fee1.tar
drakx-383641098af431436ff719df8545f9589c79fee1.tar.gz
drakx-383641098af431436ff719df8545f9589c79fee1.tar.bz2
drakx-383641098af431436ff719df8545f9589c79fee1.tar.xz
drakx-383641098af431436ff719df8545f9589c79fee1.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