Thanks Dave. I'll take a look at that.

This may not be the most elegant, but it seems to work. It's a script that locks the 
screen 
when the card is removed. It needs priviledges to read /var/log/messages


#!/bin/sh
IFS=':'
tail -f /var/log/messages |  while read a1 a2 a3 a4 a5 a6
do
        case $a6 in
                EHStatusHandlerThread?Card?Removed?From*)
                xscreensaver-command -lock;;
                *)  ;;
        esac
done
_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to