buildroot
buildroot copied to clipboard
centos's lsb-functions file does not define status_of_proc
centos's lsb-functions file does not define status_of_proc, whereas Fedora's does. Without this function, we need to implement process status checking ourselves. Currently, on CentOS, the init scripts can't tell if processes are already running and print error messages when they are run:
/etc/init.d/message-switch: line 61: status_of_proc: command not found
/etc/init.d/forkexecd: line 59: status_of_proc: command not found
/etc/init.d/xcp-networkd: line 59: status_of_proc: command not found
/etc/init.d/ffs: line 59: status_of_proc: command not found
/etc/init.d/xapi: line 79: status_of_proc: command not found
'success' is also not defined:
# /etc/init.d/xapi restart
Shutting down xapi: ./etc/init.d/xapi: line 63: success: command not found
hi guys , i'm facing this probem too , how do u solve this problem ? would pls tell me ? thks !