In centos.
source /etc/init.d/functions
action "work done" /bin/true
action "wrong" /bin/false
It show as below.
work done [OK]
wrong [FAILED]
I found that no /etc/init.d/functions in debian ,how to use action "work done" /bin/true then?
Copy the file /etc/init.d/functions in centos into usb,and copy the file /etc/init.d/functions from usb into my debian?