summaryrefslogtreecommitdiffstats
path: root/core/modules/networkd-dispatcher
diff options
context:
space:
mode:
authorJonathan Bauer2019-07-08 17:38:45 +0200
committerJonathan Bauer2019-07-08 17:38:45 +0200
commit642ff9dba4dd660c225cdf8810d183da75bc2c74 (patch)
tree750387d4a79bd2398f5baebb3f28634c9e02e220 /core/modules/networkd-dispatcher
parent[run-virt] Add --query to check existence of plugin (diff)
downloadmltk-642ff9dba4dd660c225cdf8810d183da75bc2c74.tar.gz
mltk-642ff9dba4dd660c225cdf8810d183da75bc2c74.tar.xz
mltk-642ff9dba4dd660c225cdf8810d183da75bc2c74.zip
[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
Diffstat (limited to 'core/modules/networkd-dispatcher')
-rwxr-xr-xcore/modules/networkd-dispatcher/data/etc/networkd-dispatcher/routable.d/00-fallback-dns-lookup.sh2
1 files changed, 1 insertions, 1 deletions
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