aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Walsh <dwalsh@redhat.com>2004-01-16 21:43:38 +0000
committerDan Walsh <dwalsh@redhat.com>2004-01-16 21:43:38 +0000
commitf1db55df08b8e606810d35468b63c8dab17d0482 (patch)
tree9626dc9306216c65139cbd8b78a80efb2578c1ba
parentf51c7bd023dd6991c72c06f5e5da4ba81f89e8ec (diff)
downloadinitscripts-f1db55df08b8e606810d35468b63c8dab17d0482.tar
initscripts-f1db55df08b8e606810d35468b63c8dab17d0482.tar.gz
initscripts-f1db55df08b8e606810d35468b63c8dab17d0482.tar.bz2
initscripts-f1db55df08b8e606810d35468b63c8dab17d0482.tar.xz
initscripts-f1db55df08b8e606810d35468b63c8dab17d0482.zip
no longer need run_init
-rwxr-xr-xservice5
1 files changed, 1 insertions, 4 deletions
diff --git a/service b/service
index d47f2ac9..4a5992b1 100755
--- a/service
+++ b/service
@@ -60,11 +60,8 @@ while [ $# -gt 0 ]; do
esac
done
-if test -x /usr/bin/selinuxenabled && `/usr/bin/selinuxenabled`; then
- SELINUX_RUN_INIT="DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /usr/bin/run_init"
-fi
if [ -x "${SERVICEDIR}/${SERVICE}" ]; then
- env -i LANG=$LANG PATH=$PATH TERM=$TERM $SELINUX_RUN_INIT "${SERVICEDIR}/${SERVICE}" ${OPTIONS}
+ env -i LANG=$LANG PATH=$PATH TERM=$TERM "${SERVICEDIR}/${SERVICE}" ${OPTIONS}
else
echo $"${SERVICE}: unrecognized service" >&2
exit 1