summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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
commit6ad1478176f8f79c2556488fde04976db6fbb397 (patch)
treea64c5f5be3db8d74dfe2bd9e644ee8bf60c6fd72
parentc5babffcc58a6d8c9e2445241c8b2271dba70328 (diff)
downloadktown-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.
-rwxr-xr-xdeps/elogind/doinst.sh21
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