--- _init_d 2009-10-04 07:54:44.000000000 -0500 +++ _init_d.new 2009-10-04 07:38:15.000000000 -0500 @@ -7,7 +7,7 @@ # This should probably be system specific... script=$words[1] -[[ $script = */* ]] || script=/etc/init.d/$script +[[ $script = */* ]] || script=`[ -d /etc/init.d ] && echo /etc/init.d || echo /etc/rc.d`/$script # If the file starts with `#!' we hope that this is a shell script # and get lines looking like foo|bar) with the words in $what.