Modify librc-depend.c to support .sh init script