#!/bin/sh stty onlcr TIME="now + 10 minutes" echo "Computer ist nun offline." /usr/bin/logger -p local3.info "Remote disconnect" /usr/bin/off echo "/usr/bin/on" | at $TIME