#!/bin/bash if [ "$1" == "3" ]; then /etc/rc.d/rc.M elif [ "$1" == "6" ]; then /etc/rc.d/rc.6 else echo "Invalid level." exit 1 fi