libts/ts-calibrate-init

22 lines
362 B
Plaintext
Raw Normal View History

#!/bin/bash
# ts-calibrate - tslib calibration script
#
# chkconfig: 5 97 99
# description: tslib calibration script
#
# processname: ts_calibrate
[ -e /etc/ts-calibrate.conf ] || exit 1
. /etc/ts-calibrate.conf
case "$1" in
start)
[ -e /etc/pointercal ] || /usr/bin/ts_calibrate
;;
*)
echo "Usage: $0 {start}"
exit 1
;;
esac