# 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 Aug 07 17:16:23 CEST 2008 [mika]
################################################################################
PN="$(basename $0)"
-[ -n "$MODPROBEFILE" ] || MODPROBEFILE=/etc/modprobe.d/grml
+[ -n "$MODPROBEFILE" ] || MODPROBEFILE=/etc/modprobe.d/grml.conf
[ -r /etc/grml/lsb-functions ] && . /etc/grml/lsb-functions
if [ -z "$1" ] ; then
exit 1
fi
-if [ $UID != 0 ] ; then
+if [ "$(id -ru)" != "0" ] ; then
echo Error: become root before starting $0 >& 2
exit 100
fi