getltscfg for individual thin clients

Frantisek Hanzlik franta at hanzlici.cz
Mon May 19 01:18:24 UTC 2008


Hello,

in little connection with lp_server, I forgot one thing - F9 ltsp-1.5.7
scripts nowhere calls 'getltscfg -n' for thin clients individual
settings, thus only [default] section of lts.conf is processed - it
is by calling 'getltscfg -a' at beginning of "ltsp_config" script
(which is then included in several others scripts).

My workaround about this was put "getltscfg -n" command at start
of "ltsp-init-common" script:

--- ltsp-init-common.OLD	2008-05-07 23:13:50.000000000 +0200
+++ ltsp-init-common	2008-05-19 03:13:56.000000000 +0200
@@ -7,6 +7,7 @@
      msg="$1"
      logger -p user.warning -t ltsp-client  "warning: $msg"
  }
+getltscfg -n		# get client specific settings

  start_sound() {
      if boolean_is_true "$SOUND" ; then

-- 
Regards,
Frantisek Hanzlik

== Lucni 502          Linux/Unix/Novell/Inter-/Net     Tel: +420-373729699 ==
== 33209 Stenovice     e-mail:franta at hanzlici.cz       Fax: +420-373729699 ==
== Czech Republic          http://hanzlici.cz/         GSM: +420-604117319 ==




More information about the K12Linux-devel-list mailing list