Talk:Rc script

can you guys explain how the rc script is executed line by line in the below given script

depend { need bar } start { ebegin "Starting foo" /sbin/foo eend $? "Failed to start foo" } stop { ebegin "Stopping foo" kill $(cat /var/run/foo.pid) eend $? "Failed to stop foo" }
 * 1) !/sbin/runscript


 * Report your questions to the forum, this is not the place to post them. SciYro 18:07, October 16, 2007 (EDT)