Lines Matching +full:run +full:- +full:selinux +full:- +full:test
5 # chkconfig: - 08 87
6 # description: This starts the SELinux Context Translation System Daemon
9 # pidfile: /var/run/mcstransd.pid
12 # 0 - success
13 # 1 - generic or unspecified error
14 # 2 - invalid or excess argument(s)
15 # 3 - unimplemented feature (e.g. "reload")
16 # 4 - insufficient privilege
17 # 5 - program is not installed
18 # 6 - program is not configured
19 # 7 - program is not running
28 # Allow anyone to run status
35 # Check that we are root ... so non-root users stop here
36 test $EUID = 0 || exit 4
38 # If selinux is not enabled, return success
39 test -x /usr/sbin/selinuxenabled && /usr/sbin/selinuxenabled || exit 0
44 test -x /sbin/mcstransd || exit 5
45 echo -n $"Starting $prog: "
47 echo -n $"$prog: already running"
57 if test $RETVAL = 0 ; then
64 echo -n $"Stopping $prog: "
68 rm -f $lockfile
78 [ -e $lockfile ] && restart
91 restart|force-reload)
98 echo $"Usage: $0 {start|stop|status|restart|force-reload|condrestart}"