summarylogtreecommitdiffstats
path: root/otd
blob: f4a779ebe6bae8fe30ba1ef2d004046366197dff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
cd /usr/share/OpenTabletDriver
if [ $# -eq 0 ]
then
    if [[ ! -v DISPLAY ]] && [[ ! -v WAYLAND_DISPLAY ]]
    then
        echo "DISPLAY and/or WAYLAND_DISPLAY is not set"
        exit 64
    fi
    dotnet ./OpenTabletDriver.Daemon.dll -c ./Configurations
else
    dotnet ./OpenTabletDriver.Console.dll "$@"
fi