Remove all bashisms; drop grml-muttng
[grml-scripts-core.git] / usr_sbin / grml-postfix
index 2ce6170..f93e736 100755 (executable)
@@ -4,14 +4,13 @@
 # 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