aboutsummaryrefslogtreecommitdiff
path: root/sysutils/usermin/files/usermin.sh.in
blob: bf7ec974a489b434514de0899757434dae6566dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh

# $FreeBSD$

case $1 in

	start)
		if [ -x !!PREFIX!!/etc/usermin/start ]; then
			!!PREFIX!!/etc/usermin/start >/dev/null
			echo -n ' usermin'
		fi
		exit 0
		;;

	stop)
		if [ -x !!PREFIX!!/etc/usermin/stop ]; then
			!!PREFIX!!/etc/usermin/stop >/dev/null
			echo -n ' usermin'
		fi
		exit 0
		;;

	*)
		echo "usage: `basename $0` {start|stop}" >&2
		exit 64
		;;
esac