#!/bin/sh test $(id -u) -eq 0 || exec sudo "DEBUG=$DEBUG" "$0" "$@" test -z "$DEBUG" || set -x gnome-terminal -x command "$@" shutdown -H now