Drop grml-postfix
[grml-scripts.git] / usr_sbin / prepare_ramdisk.sh
index 50510d6..e7018fb 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:35 CEST 2007 [mika]
 ################################################################################
 
-if [ $UID != 0 ]; then
+if [ $(id -u) != 0 ] ; then
   echo "Error: $0 requires root permissions. Exiting."
   exit 1
 fi