#!/bin/sh # # start an init script if [ -z "$1" ]; then echo "Usage $0 NAME" exit 1 fi if [ ! -e "/etc/init.d/$1" ]; then echo "Unknown init script '$1'" exit 2 fi /etc/init.d/rc.init ${0##*/} $1