Maybe someone else could take a look at the return code issue.
I looked through the init script for NTP and how it calls status_of_proc and mine is identical. However if ntp is not running and you execute /etc/init.d/ntp status; echo "return $?" you get return 3 which is the proper response per LSB standard. But if you execute the same with my patched script - /etc/init.d/arpwatch status; echo "return $?" you get return 0...
Not sure what I'm missing.
Maybe someone else could take a look at the return code issue.
I looked through the init script for NTP and how it calls status_of_proc and mine is identical. However if ntp is not running and you execute /etc/init.d/ntp status; echo "return $?" you get return 3 which is the proper response per LSB standard. But if you execute the same with my patched script - /etc/init. d/arpwatch status; echo "return $?" you get return 0...
Not sure what I'm missing.