#!/bin/sh SESSION=$1 case $SESSION in # do not run next to gnome-volume-manager or KDED mediamanager or thunar-volman GNOME|KDE*|xfce4) exit 0 ;; *) while ! lshal &>/dev/null; do sleep 1 done exec halevt ;; esac
#!/bin/sh SESSION=$1 case $SESSION in # do not run next to gnome-volume-manager or KDED mediamanager or thunar-volman GNOME|KDE*|xfce4) exit 0 ;; *) while ! lshal &>/dev/null; do sleep 1 done exec halevt ;; esac