summaryrefslogtreecommitdiff
path: root/etc/rc.d/tpctl
blob: 5c5334bfb9a4c63361802b87ae19e9ab61983975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
#
# $NetBSD: tpctl,v 1.2 2004/08/13 18:08:03 mycroft Exp $
#

# PROVIDE: tpctl
# REQUIRE: DAEMON wscons
# BEFORE:  LOGIN

$_rc_subr_loaded . /etc/rc.subr

name="tpctl"
rcvar=$name
start_cmd="run_tpctl"
stop_cmd=":"

run_tpctl()
{
	echo "Calibrating touch panel..."
	/usr/sbin/${name} $rc_flags
}

load_rc_config $name
run_rc_command "$1"