diff options
Diffstat (limited to 'seatd/run')
| -rwxr-xr-x | seatd/run | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/seatd/run b/seatd/run new file mode 100755 index 0000000..68b1308 --- /dev/null +++ b/seatd/run @@ -0,0 +1,13 @@ +#!/bin/sh +exec 2>&1 + +[ -r ./conf ] && . ./conf +# you may not set nfd in conf; it *must* match ./notification-fd +nfd= +# NOTE: $(<) & co are non-POSIX extensions +[ -r ./notification-fd ] && nfd=$(cat ./notification-fd) + +: ${GROUP:=_seatd} # Void Linux oriented default, set in conf +: ${OPTS:=-g "$GROUP"} # or just set all the opts yourself + +exec /usr/bin/seatd ${nfd:+-n "$nfd"} $OPTS |
