projects
/
kernel-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff5df9b
)
- manji fixup.. sysctl -e -w vs. sysctl -w -e
author
Dinko Korunic
<kreator@carnet.hr>
Tue, 2 Jun 2009 14:57:38 +0000
(16:57 +0200)
committer
Dinko Korunic
<kreator@carnet.hr>
Tue, 2 Jun 2009 14:57:38 +0000
(16:57 +0200)
debian/postinst
patch
|
blob
|
history
diff --git
a/debian/postinst
b/debian/postinst
index
b413e81
..
0312b32
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-147,7
+147,7
@@
echo -n " grub3"
# workaround execshield
SHIELD=$(sysctl -e -n kernel.exec-shield)
if [ ! -z "$SHIELD" ]; then
- sysctl -w -e kernel.exec-shield=0 >/dev/null 2>&1
+ sysctl -e -w kernel.exec-shield=0 >/dev/null 2>&1
echo -n " execshield1"
fi
@@
-250,7
+250,7
@@
echo -n " grub8"
# restore execshield state
if [ ! -z "$SHIELD" ]; then
- sysctl -w -e "kernel.exec-shield=$SHIELD" >/dev/null 2>&1
+ sysctl -e -w "kernel.exec-shield=$SHIELD" >/dev/null 2>&1
echo -n " execshield2"
fi