View | Details | Raw Unified | Return to bug 5574
Collapse All | Expand All

(-)thinlinc.init.orig (-7 / +6 lines)
Lines 5-16 Link Here
5
# For more information, see http://www.cendio.com
5
# For more information, see http://www.cendio.com
6
6
7
. $TS_GLOBAL
7
. $TS_GLOBAL
8
HOME=/etc/skel
8
9
9
case "$1" in 
10
case "$1" in
10
init)
11
init)
11
12
12
  # If the file already exists, it was probably downloaded by
13
  # If the file already exists, it was probably downloaded by
13
  # /etc/init.d/network on Thinstation 2.2 or later. 
14
  # /etc/init.d/network on Thinstation 2.2 or later.
14
  #
15
  #
15
  # From now on, we don't support ThinStation 2.1 or older with
16
  # From now on, we don't support ThinStation 2.1 or older with
16
  # automatic download of known_hosts.
17
  # automatic download of known_hosts.
Lines 21-28 Link Here
21
  fi
22
  fi
22
23
23
  let x=0
24
  let x=0
24
  while [ -n "`eval echo '$SESSION_'$x'_TYPE'`" ] ; do  
25
  while [ -n "`eval echo '$SESSION_'$x'_TYPE'`" ] ; do
25
      TLTYPE=`eval echo '$SESSION_'$x'_TYPE'`     
26
      TLTYPE=`eval echo '$SESSION_'$x'_TYPE'`
26
      if [ "`make_caps $TLTYPE`" = "THINLINC" ] ; then
27
      if [ "`make_caps $TLTYPE`" = "THINLINC" ] ; then
27
	  if [ ! -d $HOME/.thinlinc ] ; then
28
	  if [ ! -d $HOME/.thinlinc ] ; then
28
	      mkdir $HOME/.thinlinc
29
	      mkdir $HOME/.thinlinc
Lines 36-42 Link Here
36
	      tlvalue=`eval echo $tlvalue`
37
	      tlvalue=`eval echo $tlvalue`
37
	      line=`echo $session | cut -f1 -d"="`
38
	      line=`echo $session | cut -f1 -d"="`
38
	      tlparam=`echo $line | sed -e s/SESSION_${x}_THINLINC_CONFIG_//`
39
	      tlparam=`echo $line | sed -e s/SESSION_${x}_THINLINC_CONFIG_//`
39
	      tlparam=`make_caps $tlparam` 
40
	      tlparam=`make_caps $tlparam`
40
41
41
	      echo "${tlparam} = ${tlvalue}" >> $TLCLIENTCONF
42
	      echo "${tlparam} = ${tlvalue}" >> $TLCLIENTCONF
42
	  done
43
	  done
Lines 46-50 Link Here
46
47
47
;;
48
;;
48
esac
49
esac
49
50
  

Return to bug 5574