From: jean-pierre roux Date: Fri, 21 Jan 2011 10:53:38 +0000 (+0000) Subject: Forget to commit X-Git-Tag: Creatools2-0-3.creaToolsTools2-0-3.17Feb2011~27 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=935680f31fce46c540390ab329c184498f8d5292;p=creaToolsTools.git Forget to commit --- diff --git a/Linux/scripts/Check-if-root.sh b/Linux/scripts/Check-if-root.sh new file mode 100644 index 0000000..15cbbd2 --- /dev/null +++ b/Linux/scripts/Check-if-root.sh @@ -0,0 +1,15 @@ +#!/bin/bassh -e + +if [ $UID != 0 ] +then + echo + echo "..ERROR.." + echo "===================================================" + echo "REMEMBER !" + echo "" + echo "YOU NEED TO RUN THIS ONE AS root" + echo "===================================================" + echo + echo + exit 0 +fi