/usr/bin/policy-rc.d.fai is in fai-nfsroot 5.3.6ubuntu1.
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 | #!/bin/sh
# which init.d do we like to start?
# do not start any daemons when fai-make-nfsroot is called
echo $classes | grep -q NFSROOT
if [ $? -eq 0 ]; then
exit 101
fi
# maybe: start all other daemons, when used via /etc/init.d scripts
# exit 0
case "$1" in
udev)
# udev should not be started when fai-make-nfsroot is running
# it should be started when install clients are running
exit 0
;;
esac
# all other will not be started
exit 101
|