diff options
Diffstat (limited to '')
-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 |