diff options
author | Colin Guthrie <colin@mageia.org> | 2015-02-08 19:43:01 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2015-02-08 19:43:01 +0000 |
commit | 77c1fc76e86949d646fd6d6b9839b0320cc5f838 (patch) | |
tree | 73af54a0b628766826d9213763150fc8009799d5 /files/99dm-reload.xsetup | |
parent | 56b306e75f806b53b1e5f81c6910f0ce9c54d080 (diff) | |
download | draklive-config-77c1fc76e86949d646fd6d6b9839b0320cc5f838.tar draklive-config-77c1fc76e86949d646fd6d6b9839b0320cc5f838.tar.gz draklive-config-77c1fc76e86949d646fd6d6b9839b0320cc5f838.tar.bz2 draklive-config-77c1fc76e86949d646fd6d6b9839b0320cc5f838.tar.xz draklive-config-77c1fc76e86949d646fd6d6b9839b0320cc5f838.zip |
Restore GDM restart to reload i18n settings.
This was disabled in 8fbe674e but it seems it's (currently) needed
under GDM to make it load the correct locale settings for the user.
Diffstat (limited to 'files/99dm-reload.xsetup')
-rwxr-xr-x | files/99dm-reload.xsetup | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/files/99dm-reload.xsetup b/files/99dm-reload.xsetup index f88368a..97b8601 100755 --- a/files/99dm-reload.xsetup +++ b/files/99dm-reload.xsetup @@ -1,3 +1,8 @@ #!/bin/sh -LOCK=/var/lock/reload-dm -[ -f "$LOCK" ] && rm -f $LOCK && if [ x"$RUNNING_UNDER_GDM" = xtrue ]; then /usr/bin/systemctl --no-block restart prefdm.service; fi; +LOCK=/run/lock/reload-dm +if [ -f "$LOCK" ]; then + rm -f $LOCK + if [ x"$RUNNING_UNDER_GDM" = xtrue ]; then + /usr/bin/systemctl --no-block restart display-manager.service + fi +fi |