summaryrefslogtreecommitdiff
path: root/contrib/splicex/configure
diff options
context:
space:
mode:
authorresdb <resdb@d3v11-VM.(none)>2011-10-22 17:49:18 -0500
committerresdb <resdb@d3v11-VM.(none)>2011-10-22 17:49:18 -0500
commitd7ca60f5e49cd59c0b7e17d50f5f197e2bae94c5 (patch)
treea01b9890f12257206f374224f5872bb1b3f2352e /contrib/splicex/configure
parent3cf0a3944dcbd1569895309265127f0abf285bb0 (diff)
downloadresdb-d7ca60f5e49cd59c0b7e17d50f5f197e2bae94c5.tar.gz
resdb-d7ca60f5e49cd59c0b7e17d50f5f197e2bae94c5.zip
splicex stuff
Diffstat (limited to 'contrib/splicex/configure')
-rwxr-xr-xcontrib/splicex/configure15
1 files changed, 9 insertions, 6 deletions
diff --git a/contrib/splicex/configure b/contrib/splicex/configure
index f274981..4637910 100755
--- a/contrib/splicex/configure
+++ b/contrib/splicex/configure
@@ -1,6 +1,4 @@
#!/bin/bash
-clear
-
echo "
__________ _ _ __ __ ______
/ / / / ___| _ __ | (_) ___ ___\\ \\/ / / / / /
@@ -12,6 +10,11 @@ echo "
.:Brute Force Utilities For GNU/Linux:.
"
+if [[ $(id -u) != 0 ]]; then
+ echo 'root privileges required!..Quiting...'
+ exit 1
+fi
+
sleep 1
echo 'CONFIGURE: '
sleep 1
@@ -24,12 +27,12 @@ sleep 1
echo -ne '.'
if which python >/dev/null; then
sleep 1
- echo -ne 'python found :-)'
+ echo -ne ' python found :-)'
echo
sleep 1
else
sleep 1
- echo -ne 'python not found. Quiting... :-('
+ echo -ne ' python not found. Quiting... :-('
echo
exit 1
fi
@@ -43,12 +46,12 @@ sleep 1
echo -ne '.'
if which man >/dev/null; then
sleep 1
- echo -ne 'man found :-)'
+ echo -ne ' man found :-)'
echo
sleep 1
else
sleep 1
- echo -ne 'man not found. Quiting... :-('
+ echo -ne ' man not found. Quiting... :-('
echo
exit 1
fi