Advertisement
Guest User

lang.sh

a guest
Oct 18th, 2012
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. diff -Nur lxdm-20120728_102ea5e.org/data/lxdm.conf.in lxdm-20120728_102ea5e/data/lxdm.conf.in
  2. --- lxdm-20120728_102ea5e.org/data/lxdm.conf.in 2012-07-28 03:17:01.000000000 +0200
  3. +++ lxdm-20120728_102ea5e/data/lxdm.conf.in 2012-10-18 11:55:59.737216763 +0200
  4. @@ -23,9 +23,11 @@
  5.  
  6. [server]
  7. ## arg used to start xserver, not fully function
  8. -# arg=/usr/bin/X -background vt1
  9. +arg=/usr/bin/X -background vt1
  10. +
  11. # uncomment this if you really want xserver listen to tcp
  12. # tcp_listen=1
  13. +
  14. # uncoment this if you want reset the xserver after logou
  15. # reset=1
  16.  
  17. @@ -58,5 +60,5 @@
  18. white=
  19.  
  20. ## blacklist user
  21. -black=
  22. +black=ftp vdr
  23.  
  24. diff -Nur lxdm-20120728_102ea5e.org/data/lxdm.in lxdm-20120728_102ea5e/data/lxdm.in
  25. --- lxdm-20120728_102ea5e.org/data/lxdm.in 2012-07-28 03:17:01.000000000 +0200
  26. +++ lxdm-20120728_102ea5e/data/lxdm.in 2012-10-18 11:41:41.000000000 +0200
  27. @@ -1,21 +1,13 @@
  28. #!/bin/sh
  29.  
  30. -[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
  31. -
  32. -if [ -z "$LANG" -a -e /etc/sysconfig/language ]; then
  33. - . /etc/sysconfig/language
  34. - if [ -n "$RC_LANG"]; then
  35. - LANG=$RC_LANG
  36. - fi
  37. +if [ -r /etc/profile.d/lang.sh ]; then
  38. + . /etc/profile.d/lang.sh
  39. fi
  40.  
  41. if [ -n "$LANG" ]; then
  42. export LANG
  43. fi
  44.  
  45. -[ -f /etc/sysconfig/desktop ] && . /etc/sysconfig/desktop
  46. -[ -f /etc/sysconfig/windowmanager ] && . /etc/sysconfig/windowmanager
  47. -
  48. if [ -n "$DEFAULT_WM" ]; then
  49. PREFERRED=$DEFAULT_WM
  50. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement