# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: Thu Apr 27 18:26:46 CEST 2006 [mika]
################################################################################
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
LANG=C
LC_ALL=C
-if [ $UID != 0 ] ; then
+if [ "$(id -ru)" != "0" ] ; then
echo Error: become root before starting $0 >& 2
exit 100
fi