projects
/
grml-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
grml-mutt: provide example settings for smtp_{url,pass}.
[grml-scripts.git]
/
usr_sbin
/
ndiswrapper.sh
diff --git
a/usr_sbin/ndiswrapper.sh
b/usr_sbin/ndiswrapper.sh
index
38e03d1
..
f0531af
100755
(executable)
--- a/
usr_sbin/ndiswrapper.sh
+++ b/
usr_sbin/ndiswrapper.sh
@@
-10,7
+10,7
@@
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin"
export PATH
# Get root
export PATH
# Get root
-if [ $
UID
!= 0 ] ; then
+if [ $
(id -u)
!= 0 ] ; then
echo Error: become root before starting $0 >& 2
exit 100
fi
echo Error: become root before starting $0 >& 2
exit 100
fi