1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/usr/bin/ash run_hook () { msg "Starting haveged" # start haveged running in the background if [ "${quiet}" != "y" ] ; then haveged else haveged > /dev/null 2>&1 fi } run_cleanuphook () { # kill haveged running in the background killall haveged }