projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c45b48
)
selinux-loadpolicy: do not check for selinux config files
author
Harald Hoyer
<harald@redhat.com>
Fri, 11 Sep 2009 14:30:10 +0000
(16:30 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Fri, 11 Sep 2009 14:30:10 +0000
(16:30 +0200)
leave it up to load_policy
modules.d/99base/selinux-loadpolicy.sh
patch
|
blob
|
history
diff --git
a/modules.d/99base/selinux-loadpolicy.sh
b/modules.d/99base/selinux-loadpolicy.sh
index
f1d8cab
..
8285b51
100755
(executable)
--- a/
modules.d/99base/selinux-loadpolicy.sh
+++ b/
modules.d/99base/selinux-loadpolicy.sh
@@
-1,8
+1,7
@@
#!/bin/sh
# FIXME: load selinux policy. this should really be done after we switchroot
-if [ -x "$NEWROOT/usr/sbin/load_policy" -o -x "$NEWROOT/sbin/load_policy" ] \
- && [ -e "$NEWROOT/etc/sysconfig/selinux" -o -e "$NEWROOT/etc/selinux/config" ]; then
+if [ -x "$NEWROOT/usr/sbin/load_policy" -o -x "$NEWROOT/sbin/load_policy" ]; then
ret=0
info "Loading SELinux policy"
{