blob: 68b130859e9bb1835f1d760dba6521154553b315 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
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
|