On Wed, 2004-28-04 at 13:55 -0400, Stephen Smalley wrote:
I missed the obvious - you should be able to do:
if [ -x /usr/bin/selinuxenabled ] && selinuxenabled; then restorecon ...; fi
On Wed, 2004-28-04 at 14:18 -0400, Daniel J Walsh wrote:
[ -x /usr/bin/selinuxenabled ] && /usr/bin/selinuxenabled
&& restorecon
/usr/local/lib/libfoo.so.0.0.0
Thanks gentleman! Works great now.
Best,
Scott