help() {
cat <<EOF
-Syntax: $0 [command]
+Syntax: $initscript [command]
Available commands:
start Start the service
stop Stop the service
restart Restart the service
reload Reload configuration files (or restart if that fails)
- enable Enable the service (load at boot time)
- disable Disable the service
$EXTRA_HELP
EOF
}
stop) stop;;
reload) reload || restart;;
restart) restart;;
- enable) enable;;
- disable) disable;;
boot) boot;;
shutdown) shutdown;;
$cmds