]> TLD Linux GIT Repositories - rc-scripts.git/commitdiff
- merged /selinux mounting fix
authorMarcin Krol <hawk@tld-linux.org>
Tue, 14 Jul 2015 13:14:38 +0000 (13:14 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Tue, 14 Jul 2015 13:14:38 +0000 (13:14 +0000)
rc.d/rc.sysinit

index dc3475b0ddff708014bb6b422e20d5000207baec..50ca08a247591fc1f33d68925bc3deb5551d8f53 100755 (executable)
@@ -123,9 +123,7 @@ init_selinux() {
        if ! grep -Fq selinuxfs /proc/filesystems; then
                # no support in kernel, no chance
                SELINUX=no
-       fi
-
-       if ! is_fsmounted selinuxfs /selinux; then
+       elif ! is_fsmounted selinuxfs /selinux; then
                mount -n -o gid=17 -t selinuxfs selinuxfs /selinux
        fi