diff options
author | Eric Hameleers <alien@slackware.com> | 2020-06-17 23:21:07 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-06-17 23:21:07 +0200 |
commit | 6ad1478176f8f79c2556488fde04976db6fbb397 (patch) | |
tree | a64c5f5be3db8d74dfe2bd9e644ee8bf60c6fd72 /deps/elogind/doinst.sh | |
parent | c5babffcc58a6d8c9e2445241c8b2271dba70328 (diff) | |
download | ktown-6ad1478176f8f79c2556488fde04976db6fbb397.tar.gz ktown-6ad1478176f8f79c2556488fde04976db6fbb397.tar.xz |
Deps/elogind: do not modify rc.local
Instead rely on Slackware's rc.M to start either rc.consolekit or else
the rc.elogind script. Patch to rc.M is queued-up by Pat.
Diffstat (limited to '')
-rwxr-xr-x | deps/elogind/doinst.sh | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/deps/elogind/doinst.sh b/deps/elogind/doinst.sh index a18705d..dc85465 100755 --- a/deps/elogind/doinst.sh +++ b/deps/elogind/doinst.sh @@ -34,14 +34,15 @@ if pgrep -f elogind-daemon | grep -q 'elogind-daemon'; then pkill -HUP -f elogind-daemon fi +## Now taken care of in Slackware's /etc/rc.d/rc.M: +## +## 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 +# cat <<_EOM_ >> etc/rc.d/rc.local # -# 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 - cat <<_EOM_ >> etc/rc.d/rc.local - -if [ -x /etc/rc.d/rc.elogind ]; then - # Create runtime for elogind (standalone logind extracted from systemd): - /etc/rc.d/rc.elogind start -fi -_EOM_ -fi +#if [ -x /etc/rc.d/rc.elogind ]; then +# # Create runtime for elogind (standalone logind extracted from systemd): +# /etc/rc.d/rc.elogind start +#fi +#_EOM_ +#fi |