~edubuntu-italc-devel/italc/italc-jaunty

« back to all changes in this revision

Viewing changes to debian/ica-launcher

  • Committer: Stéphane Graber
  • Date: 2009-02-17 23:59:09 UTC
  • Revision ID: stgraber@ubuntu.com-20090217235909-bq7s2xrle81enabr
Fix ltsp-cluster in ica-launcher

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
        sleep 1s
36
36
fi
37
37
 
38
 
if [ -f /usr/bin/avahi-publish-service ] || [ -f /etc/ltsp/directory.conf ]
 
38
if [ -f /usr/bin/avahi-publish-service ] || [ -f /etc/ltsp/getltscfg-cluster.conf ]
39
39
then
40
40
        echo Announce the service on avahi
41
41
        avahi-publish-service "italc $USER" _italc._tcp $IVSPORT $MD5_1 $MD5_2 $MD5_3 "$HOSTNAME" > /dev/zero &
44
44
echo Starting ICA
45
45
ica -noshm -isdport $ISDPORT -ivsport $IVSPORT 2> /dev/zero
46
46
 
47
 
if [ -f /usr/bin/avahi-publish-service ] || [ -f /etc/ltsp/directory.conf ]
 
47
if [ -f /usr/bin/avahi-publish-service ] || [ -f /etc/ltsp/getltscfg-cluster.conf ]
48
48
then
49
49
        echo Stopping avahi
50
50
        kill `ps ux | grep avahi-publish-service | grep italc | grep $IVSPORT | grep $USER | awk '{print \$2}'`