aboutsummaryrefslogtreecommitdiffstats
path: root/service
blob: 9337baed2a6a2223a09a84da8a86a73c699c58f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

if [ -z "$1" ]; then
	echo "no service specified" >&2
	exit 1
elif [ -x "/etc/rc.d/init.d/$1" ]; then
	"/etc/rc.d/init.d/$1" "basename \"$0\""
else
	echo "$1: unrecognized service" >&2
	exit 1
fi