/etc/cfengine/debian-edu/cfd is in debian-edu-config 1.702.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #!/bin/bash
#Cfengine daemon startup script
test -x /usr/sbin/cfd || exit 0
NAME=cfd
PATH=/usr/bin:/bin:/usr/sbin:/sbin
CFINPUTS=/etc/cfengine/debian-edu
export CFINPUTS
case $1 in
start) echo "Starting Cfengine daemon: cfd"
/usr/sbin/cfd
exit 0
;;
stop) echo "Trying to kill Cfengine daemon"
kill -9 `/bin/ps aux | /usr/bin/awk '/cfd/ {print $2}'`
exit 0
;;
*) N=/etc/init.d/$NAME
echo "Usage: $N {start|stop}" >&2
exit 1
;;
esac
|