1 2 3 4 5 6 7
if [ -x "/etc/init.d/#SCRIPT#" ]; then if [ -x /usr/sbin/invoke-rc.d ] ; then invoke-rc.d #SCRIPT# stop else /etc/init.d/#SCRIPT# stop fi fi