19 lines
494 B
Bash
19 lines
494 B
Bash
#!/bin/sh
|
|
exec 2>&1
|
|
set -e
|
|
sv check dbus >/dev/null || exit 1
|
|
|
|
if [ -x /usr/bin/elogind-inhibit ]; then
|
|
dbus-send --system --print-reply --dest=org.freedesktop.DBus \
|
|
/org/freedesktop/DBus \
|
|
org.freedesktop.DBus.StartServiceByName \
|
|
string:org.freedesktop.login1 uint32:0
|
|
fi
|
|
|
|
# respect system locale
|
|
[ -r /etc/locale.conf ] && . /etc/locale.conf && export LANG
|
|
|
|
[ -f ./conf ] && . ./conf
|
|
|
|
exec sddm 2>&1
|