2024-01-06 05:58:01 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Touchscreen calibration
|
|
|
|
DefaultDependencies=no
|
|
|
|
Before=graphical.target
|
|
|
|
|
|
|
|
[Service]
|
2024-01-06 05:58:01 +01:00
|
|
|
ConditionPathExists=/etc/ts-calibrate.conf !/etc/pointercal
|
2024-01-06 05:58:01 +01:00
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
|
|
|
ExecStart=/usr/bin/ts_calibrate
|
2024-01-06 05:58:01 +01:00
|
|
|
EnvironmentFile=-/etc/ts-calibrate.conf
|
2024-01-06 05:58:01 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=graphical.target
|