diff options
| author | Miroslav Grepl <mgrepl@redhat.com> | 2010-10-12 17:41:11 +0200 |
|---|---|---|
| committer | Miroslav Grepl <mgrepl@redhat.com> | 2010-10-12 17:41:11 +0200 |
| commit | a1b00070a14841076e8f7b57ec35be0e58e1f7ef (patch) | |
| tree | 2c9654fab52bab1b44e8c32d32412c25fde8aba4 | |
| parent | 3c651a2d1498184a81b2fda6597e2ad555cba479 (diff) | |
| download | test_policy_modules-a1b00070a14841076e8f7b57ec35be0e58e1f7ef.tar.gz test_policy_modules-a1b00070a14841076e8f7b57ec35be0e58e1f7ef.tar.xz test_policy_modules-a1b00070a14841076e8f7b57ec35be0e58e1f7ef.zip | |
- Fix passenger script
| -rwxr-xr-x | passenger.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/passenger.sh b/passenger.sh index 7ca91a9..b760613 100755 --- a/passenger.sh +++ b/passenger.sh @@ -8,8 +8,6 @@ echo 'You must be root to run this script' exit 1 fi -echo "Building and Loading Policy" - /usr/sbin/semodule -l | grep mod_passanger > /dev/null if [ $? -eq 0 ]; @@ -17,6 +15,8 @@ if [ $? -eq 0 ]; /usr/sbin/semodule -r mod_passanger.pp 2> /dev/null fi +echo "Building and Loading Policy" + set -x make -f /usr/share/selinux/devel/Makefile /usr/sbin/semodule -i passenger.pp |
