Drop grml-postfix
[grml-scripts.git] / usr_sbin / ndiswrapper.sh
index 7112b29..f0531af 100755 (executable)
@@ -4,14 +4,13 @@
 # Authors:       (c) Martin Oehler 2004, (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Fri Apr 21 22:22:12 CEST 2006 [mika]
 ################################################################################
 
 PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin"
 export PATH
 
 # Get root
-if [ $UID != 0 ] ; then
+if [ $(id -u) != 0 ] ; then
    echo Error: become root before starting $0 >& 2
    exit 100
 fi