shell subcommand for init.d script