mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-10-05 04:57:21 +02:00
install: very questionable socket enabling
This commit is contained in:
parent
d41bbcb11b
commit
01c30a381f
8
install
8
install
@ -193,6 +193,14 @@ if [ "$(id -u)" == "0" ]; then
|
|||||||
|
|
||||||
if hash systemctl 2> /dev/null; then
|
if hash systemctl 2> /dev/null; then
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
# SECURITY WARNING! Practically a backdoor unless you are me and expect this!
|
||||||
|
# WARNING! Likely breaks SSHd outside of port 22 unless override exists!
|
||||||
|
(systemctl --global enable foot-server.socket &)
|
||||||
|
(systemctl enable --now ssh.socket &)
|
||||||
|
(systemctl enable --now sshd.socket &)
|
||||||
|
(systemctl enable --now avahi-daemon.socket &)
|
||||||
|
(systemctl enable --now systemd-oomd.socket &)
|
||||||
|
(systemctl enable --now oidentd.socket &)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Enables laziness on checking whether or not apt is installed
|
# Enables laziness on checking whether or not apt is installed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user