~ubuntu-branches/ubuntu/trusty/ldm/trusty-proposed

« back to all changes in this revision

Viewing changes to ltsp-cluster-info/ltsp-cluster-info

  • Committer: Bazaar Package Importer
  • Author(s): Vagrant Cascadian
  • Date: 2010-04-19 15:28:59 UTC
  • mfrom: (3.3.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20100419152859-s133bph9xnbdubuh
Tags: upstream-2.1.2
ImportĀ upstreamĀ versionĀ 2.1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    title=`eval_gettext "This thin client hasn't been configured yet."`
24
24
fi
25
25
 
26
 
. /etc/ltsp/getltscfg-cluster.conf
 
26
test -f /etc/ltsp/getltscfg-cluster.conf && . /etc/ltsp/getltscfg-cluster.conf
27
27
INTERFACE=$(ip route | grep default | cut -d " " -f5)
28
28
INTERFACE_MAC=$(/sbin/ifconfig | grep ${INTERFACE} | cut -f11 -d" ")
29
29
INTERFACE_IP=$(/sbin/ifconfig ${INTERFACE} | grep inet | cut -f2 -d":" | cut -f1 -d" ")