Drop grml-postfix
[grml-scripts.git] / usr_sbin / prepare_tmpfs.sh
index 5be0057..229fa79 100755 (executable)
@@ -4,10 +4,9 @@
 # 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: Sam Okt 06 13:23:59 CEST 2007 [mika]
 ################################################################################
 
-if [ $UID != 0 ]; then
+if [ $(id -u) != 0 ] ; then
   echo "Error: $0 requires root permissions. Exiting."
   exit 1
 fi