From 642ff9dba4dd660c225cdf8810d183da75bc2c74 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Mon, 8 Jul 2019 17:38:45 +0200 Subject: [networkd-dispatcher] remove hack which did not work properly, since if the user logged in before the hostname fallback was done, this would kill the user session. Working on a xhost-based fix --- .../data/etc/networkd-dispatcher/routable.d/00-fallback-dns-lookup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/modules/networkd-dispatcher') diff --git a/core/modules/networkd-dispatcher/data/etc/networkd-dispatcher/routable.d/00-fallback-dns-lookup.sh b/core/modules/networkd-dispatcher/data/etc/networkd-dispatcher/routable.d/00-fallback-dns-lookup.sh index ebf2d7ae..40874b56 100755 --- a/core/modules/networkd-dispatcher/data/etc/networkd-dispatcher/routable.d/00-fallback-dns-lookup.sh +++ b/core/modules/networkd-dispatcher/data/etc/networkd-dispatcher/routable.d/00-fallback-dns-lookup.sh @@ -65,9 +65,9 @@ check_dns() { fi return 0 } + set_hostname() { hostnamectl set-hostname "$1" - systemctl try-restart lightdm } if [ ! -e /opt/openslx/config ]; then -- cgit v1.2.3-55-g7522