summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install')
-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