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:
e0bb3c3
)
[PATCH 06/50] Bashify results testing for selinux policy loading
author
Victor Lowther
<victor.lowther@gmail.com>
Fri, 13 Feb 2009 12:41:45 +0000
(
04:41
-0800)
committer
Dave Jones
<davej@redhat.com>
Mon, 16 Feb 2009 18:56:40 +0000
(13:56 -0500)
init
patch
|
blob
|
history
diff --git
a/init
b/init
index
2ebf1b0
..
2b7aa36
100755
(executable)
--- a/
init
+++ b/
init
@@
-92,7
+92,7
@@
mount -t sysfs /sys $NEWROOT/sys
# FIXME: load selinux policy. this should really be done after we switchroot
if [ -x $NEWROOT/usr/sbin/load_policy ]; then
chroot $NEWROOT /usr/sbin/load_policy -i
- if
[ $? -eq 3 ]
; then
+ if
(($? == 3))
; then
echo "Initial SELinux policy load failed and enforcing mode requested."
echo "Not continuing"
sleep 100d