add init.d script with check interval option