/usr/sbin/fai-softupdate is in goto-fai 3.1-1.2.
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 | #!/bin/sh
fai_running
{
ps ax | grep "fai.*softupdate" | grep -v fai-softupdate | grep -vq "grep"
return $?
}
# Wait until FAI is ready
while fai_running; do sleep 2; done
# Call softupdate and notify users
[ -e /usr/bin/goto-notify ] && goto-notify start-update
fai -N softupdate
[ -e /usr/bin/goto-notify ] && goto-notify stop-update
|