I think that it would not be a good idea to continue to use awk to detect if the daemon is running. It would in my opinion make more sense to make this code use the status_of_proc() function which is now included in the init functions.
I think that it would not be a good idea to continue to use awk to detect if the daemon is running. It would in my opinion make more sense to make this code use the status_of_proc() function which is now included in the init functions.