diff options
author | Jonathan Bauer | 2019-07-08 17:38:45 +0200 |
---|---|---|
committer | Jonathan Bauer | 2019-07-08 17:38:45 +0200 |
commit | 642ff9dba4dd660c225cdf8810d183da75bc2c74 (patch) | |
tree | 750387d4a79bd2398f5baebb3f28634c9e02e220 /core/modules | |
parent | [run-virt] Add --query to check existence of plugin (diff) | |
download | mltk-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')
-rwxr-xr-x | core/modules/networkd-dispatcher/data/etc/networkd-dispatcher/routable.d/00-fallback-dns-lookup.sh | 2 |
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 |