~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-18 00:06:15 UTC
  • Revision ID: stgraber@ubuntu.com-20090218000615-5sjexuq6fhv7clqe
Add ubuntu8 and actually fix the bug it was supposed to fix

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/getltscfg-cluster.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/getltscfg-cluster.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}'`