]> git.pld-linux.org Git - packages/systemd.git/commitdiff
- fix nonselinux case
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 25 Sep 2004 14:05:56 +0000 (14:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    start_udev -> 1.3

start_udev

index 3f85f42d3f11e3a3b6cab6885576af8e85e27ee9..7d1e0bd0d94c02351da3e8a5e9d1c01224ea925f 100644 (file)
@@ -60,7 +60,8 @@ make_extra_nodes () {
 }
 
 mount_udev() {
-       mount -n -o fscontext=system_u:object_r:device_t,mode=0755 \
+       [ -e "/selinux/enforce" ] && mountopt=",fscontext=system_u:object_r:device_t"
+       mount -n -o mode=0755${mountopt} \
                -t tmpfs none "$udev_root"
        return $?
 }
This page took 0.367606 seconds and 4 git commands to generate.