diff options
author | Eric Hameleers <alien@slackware.com> | 2020-06-08 21:30:18 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-06-08 21:30:18 +0200 |
commit | e41c0c99c8d498cc2f3761eb35d4f5389a6d1798 (patch) | |
tree | 3b0294e2874f1a34943eeb9a19682313ba43e6c2 /deps/elogind/doinst.sh | |
parent | f6a28c20081bd24619074c99ddfeb1932b09df2f (diff) | |
download | ktown-e41c0c99c8d498cc2f3761eb35d4f5389a6d1798.tar.gz ktown-e41c0c99c8d498cc2f3761eb35d4f5389a6d1798.tar.xz |
Proposed changes for a migration from ConsoleKit2 to elogind
Using elogind will enable a fully working Wayland session for KDE Plasma5.
Diffstat (limited to 'deps/elogind/doinst.sh')
-rwxr-xr-x | deps/elogind/doinst.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/elogind/doinst.sh b/deps/elogind/doinst.sh index 75adb23..5fd6b44 100755 --- a/deps/elogind/doinst.sh +++ b/deps/elogind/doinst.sh @@ -26,8 +26,14 @@ preserve_perms() { # # Preserve permissions while moving into place: +config etc/elogind/logind.conf.new preserve_perms etc/rc.d/rc.elogind.new +if pgrep -f elogind-daemon | grep -q 'elogind-daemon'; then + echo "Reloading elogind-daemon..." + pkill -HUP -f elogind-daemon +fi + # # Update rc.local so that elogind will be functional after boot: if ! grep "rc.elogind" etc/rc.d/rc.local 1>/dev/null 2>/dev/null ; then |