Remove all bashisms; drop grml-muttng
[grml-scripts-core.git] / usr_sbin / bt-hid
index 47e3a86..3b358cf 100755 (executable)
@@ -4,12 +4,11 @@
 # 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: Die Aug 08 19:58:41 CEST 2006 [mika]
 ################################################################################
 
 . /etc/grml/lsb-functions
 
-if [ $UID != 0 ] ; then
+if [ "$(id -ru)" != "0" ] ; then
    eerror "Need root privileges. Please run $0 as user root." ; eend 1
    exit 1
 fi