Drop grml-postfix
[grml-scripts.git] / usr_sbin / grml-tpm
index 5d05f2d..07e2093 100755 (executable)
@@ -4,12 +4,11 @@
 # Authors:       (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Mit Jul 26 02:26:06 CEST 2006 [mika]
 ################################################################################
 
 . /etc/grml/lsb-functions
 
-if [ $UID != 0 ] ; then
+if [ $(id -u) != 0 ] ; then
    eerror Error: become root before starting $0 >& 2 ; eend 1
    exit 100
 fi