Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 7804252a8a3b41cb056fba81365ad12a > files > 7

mille-xterm-appserver-en_US-1.0-4mdv2010.0.noarch.rpm

#!/bin/sh

#JMD 20060808
#Always run even if LOCAL_MEDIA is not set, since a user
#might have a session on another terminal, and we don't want
#him to access someone else's CD or USB key.

#MYXTERM_IP=`echo $DISPLAY | cut -f1 -d":"`
#if [ -r /tmp/lts.conf.$MYXTERM_IP ]; then
#        eval `grep LOCAL_MEDIA /tmp/lts.conf.$MYXTERM_IP`
#fi

#if [ "$LOCAL_MEDIA" = "Y" ]; then
	/usr/bin/pkill -9 -U $USER ltspfs
	/bin/umount -l $HOME/USB
#fi