diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-01-04 12:28:13 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-01-04 12:28:13 +0000 |
commit | 23144ba3ce26cba7eceed9307be332f6fd1e5c09 (patch) | |
tree | 57a66ac81fff71f605a1b92ea1a7044aae9b89f3 /perl-install | |
parent | 62656376f67d5f44f7bd5ce1ce1ef2a2564355a8 (diff) | |
download | drakx-backup-do-not-use-23144ba3ce26cba7eceed9307be332f6fd1e5c09.tar drakx-backup-do-not-use-23144ba3ce26cba7eceed9307be332f6fd1e5c09.tar.gz drakx-backup-do-not-use-23144ba3ce26cba7eceed9307be332f6fd1e5c09.tar.bz2 drakx-backup-do-not-use-23144ba3ce26cba7eceed9307be332f6fd1e5c09.tar.xz drakx-backup-do-not-use-23144ba3ce26cba7eceed9307be332f6fd1e5c09.zip |
(start_udev) simplify by factoring
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install/install2.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm index 729de11b8..7dac5c09f 100644 --- a/perl-install/install/install2.pm +++ b/perl-install/install/install2.pm @@ -296,10 +296,9 @@ sub start_udev() { $ENV{UDEVRULESD} = "/run/udev/rules.d"; # Start up udev and trigger cold plugs + mkdir("/dev/$_", 0755) foreach qw(pts shm); run_program::run("mount", "-t", "devtmpfs", "-o", "mode=0755,nosuid", "devtmpfs", "/dev"); - mkdir "/dev/pts", 0755; run_program::run("mount", "-t", "devpts", "-o", "gid=5,mode=620,noexec,nosuid", "devpts", "/dev/pts"); - mkdir "/dev/shm", 0755; run_program::run("mount", "-t", "tmpfs", "-o", "mode=1777,nosuid,nodev", "tmpfs", "/dev/shm"); run_program::run("/lib/udev/udevd", "--daemon", "--resolve-names=never"); |