# 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: Die Aug 08 19:58:41 CEST 2006 [mika]
################################################################################
. /etc/grml/lsb-functions
-if [ $UID != 0 ] ; then
+if [ "$(id -ru)" != "0" ] ; then
eerror "Need root privileges. Please run $0 as user root." ; eend 1
exit 1
fi