aboutsummaryrefslogtreecommitdiff
path: root/network/metasploit
diff options
context:
space:
mode:
Diffstat (limited to 'network/metasploit')
-rw-r--r--network/metasploit/metasploit.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/network/metasploit/metasploit.SlackBuild b/network/metasploit/metasploit.SlackBuild
index 3a7d6458fd67..5146da7cd94b 100644
--- a/network/metasploit/metasploit.SlackBuild
+++ b/network/metasploit/metasploit.SlackBuild
@@ -31,12 +31,10 @@ VERSION=${VERSION:-4.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -120,8 +118,8 @@ chown root:root $PKG/etc/rc.d/rc.$INITSCRIPT.new
chmod 755 $PKG/etc/rc.d/rc.$INITSCRIPT.new
# Default installation makes pro stuff, starting METASPLOIT_SCRIPT, PROSVC_SCRIPT and WORKER_SCRIPT. Disable this...
# We want only to start framework's PostgreSQL
-chmod -x $PKG/$INSTDIR/apps/pro/ui/scripts/ctl.sh
-chmod -x $PKG/$INSTDIR/apps/pro/engine/scripts/ctl.sh
+chmod -x $PKG/$INSTDIR/apps/pro/ui/scripts/ctl.sh
+chmod -x $PKG/$INSTDIR/apps/pro/engine/scripts/ctl.sh
chmod -x $PKG/$INSTDIR/apps/pro/ui/scripts/worker_ctl.sh
# Install /usr/bin links