~ubuntu-branches/ubuntu/precise/ldm/precise

« back to all changes in this revision

Viewing changes to rc.d/X95-run-x-session

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Graber
  • Date: 2009-08-25 10:39:37 UTC
  • mfrom: (1.1.24 upstream)
  • Revision ID: james.westby@ubuntu.com-20090825103937-h0nfciwgfrlb3osi
Tags: 2:2.0.45-0ubuntu1
* New upstream version (2.0.45)
 * Strip username so it doesn't contain spaces at the start and end
 * Implement pre-ssh hooks
 * Fix cases when LDM_PRINTER_LIST is set but empty

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# environment can be modified by other rc.d scripts (for .dmrc
5
5
# processing and such)
6
6
 
7
 
# Set up the LTSP_CLIENT environment variable.
 
7
# Set up the LTSP_CLIENT and LTSP_CLIENT_HOSTNAME environment variables.
8
8
# We may not want to force set this:
9
9
# FIXME:  Revisit this at some point.
10
10
 
11
 
CLIENT_ENV="$CLIENT_ENV LTSP_CLIENT=$LDMINFO_IPADDR"
 
11
CLIENT_ENV="$CLIENT_ENV LTSP_CLIENT=$LDMINFO_IPADDR LTSP_CLIENT_HOSTNAME=$(hostname)"
12
12
 
13
13
# Set our language, if a different one is picked.
14
14