# For fat clients, remove some autostart items that don't make sense in live
# sessions. The user can add more items by declaring a space separated
# RM_SESSION_SERVICES list in lts.conf.

# For readability, include the comment line from service.desktop.

# Notify about new hardware drivers available for the system
RM_SESSION_SERVICES="$RM_SESSION_SERVICES jockey-gtk jockey-kde"

# Check for available updates automatically
RM_SESSION_SERVICES="$RM_SESSION_SERVICES update-notifier"

for file in $RM_SESSION_SERVICES; do
    if [ -f "/etc/xdg/autostart/$file.desktop" ]; then
        rm -f "/etc/xdg/autostart/$file.desktop"
    fi
done
