NetBSD/etc/rc.d/tpctl

25 lines
348 B
Bash

#!/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"