#!/bin/sh

if [ `id -u` = 0 ] ; then
   # oh, I am root, just continue
   nvtv
else
   xterm -e sh -c 'echo -e "You need root permissions to control the video hardware.\nPlease enter the root password.\n"; /bin/su -c nvtv'
fi
