summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-01-21 22:07:15 +0000
committerColin Guthrie <colin@mageia.org>2014-01-21 22:15:55 +0000
commitc01b45c78de95b0f9dacf6930c58220280ff168b (patch)
tree0a10dd4dc2bb63a812f2a3b1ffd6b57c14514777 /files
parentaeec7b5a1c6becafa4ea37c47f4cfb1d48ee82b3 (diff)
downloaddraklive-config-c01b45c78de95b0f9dacf6930c58220280ff168b.tar
draklive-config-c01b45c78de95b0f9dacf6930c58220280ff168b.tar.gz
draklive-config-c01b45c78de95b0f9dacf6930c58220280ff168b.tar.bz2
draklive-config-c01b45c78de95b0f9dacf6930c58220280ff168b.tar.xz
draklive-config-c01b45c78de95b0f9dacf6930c58220280ff168b.zip
Ensure that GDM is reloaded on live media.
With out this the locale settings are not reread and en_US is used for the whole session. I'm not 100% sure why the previous call now fails, but I suspect it could be due to /usr/sbin not being in the path due to /etc/ profile not being sourced early on (i.e. in the gdm binary) and thus this command fails to run. mga#11582 mga#12328
Diffstat (limited to 'files')
-rwxr-xr-xfiles/99dm-reload.xsetup2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/99dm-reload.xsetup b/files/99dm-reload.xsetup
index 67d8ee8..f88368a 100755
--- a/files/99dm-reload.xsetup
+++ b/files/99dm-reload.xsetup
@@ -1,3 +1,3 @@
#!/bin/sh
LOCK=/var/lock/reload-dm
-[ -f "$LOCK" ] && rm -f $LOCK && if [ x"$RUNNING_UNDER_GDM" = xtrue ]; then nohup service dm restart; fi;
+[ -f "$LOCK" ] && rm -f $LOCK && if [ x"$RUNNING_UNDER_GDM" = xtrue ]; then /usr/bin/systemctl --no-block restart prefdm.service; fi;