aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2020-02-16 13:35:44 +0100
committerPapoteur <papoteur@mageia.org>2020-02-16 13:35:44 +0100
commit5f877b920e55788e7f68fb5724f75724585cd6af (patch)
tree03ef38f30d061ea3a64f3ee57aba7b3cfb33bc5f
parent7c31035f1050ac3ce050ea5e6b425ae6893e9b78 (diff)
downloadmsec-5f877b920e55788e7f68fb5724f75724585cd6af.tar
msec-5f877b920e55788e7f68fb5724f75724585cd6af.tar.gz
msec-5f877b920e55788e7f68fb5724f75724585cd6af.tar.bz2
msec-5f877b920e55788e7f68fb5724f75724585cd6af.tar.xz
msec-5f877b920e55788e7f68fb5724f75724585cd6af.zip
Deal with mangling shebangs warnings on shell scripts
-rwxr-xr-xcron-sh/functions.sh2
-rwxr-xr-xcron-sh/promisc_check.sh2
-rwxr-xr-xcron-sh/scripts/01_files.sh2
-rwxr-xr-xcron-sh/scripts/02_network.sh2
-rwxr-xr-xcron-sh/scripts/03_rpm.sh2
-rwxr-xr-xcron-sh/scripts/04_rootkit.sh2
-rwxr-xr-xcron-sh/scripts/05_access.sh2
-rwxr-xr-xcron-sh/scripts/06_sectool.sh2
-rwxr-xr-xcron-sh/security.sh2
-rwxr-xr-xinit-sh/upgrade.sh2
-rwxr-xr-xsrc/msec/msec2
-rwxr-xr-xsrc/msec/msecgui2
-rwxr-xr-xsrc/msec/msecperms2
13 files changed, 13 insertions, 13 deletions
diff --git a/cron-sh/functions.sh b/cron-sh/functions.sh
index a7fe6cf..90b15be 100755
--- a/cron-sh/functions.sh
+++ b/cron-sh/functions.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/bash
# msec: shared function
if [[ -f /etc/profile.d/10lang.sh ]]; then
diff --git a/cron-sh/promisc_check.sh b/cron-sh/promisc_check.sh
index d9a2c6b..9c9f2aa 100755
--- a/cron-sh/promisc_check.sh
+++ b/cron-sh/promisc_check.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/bash
# msec: this checks if the network is in promiscuous mode
. /usr/share/msec/functions.sh
diff --git a/cron-sh/scripts/01_files.sh b/cron-sh/scripts/01_files.sh
index c7bb8ad..d71ae44 100755
--- a/cron-sh/scripts/01_files.sh
+++ b/cron-sh/scripts/01_files.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/bash
# msec: security check for suid_root binaries
# check if we are run from main script
diff --git a/cron-sh/scripts/02_network.sh b/cron-sh/scripts/02_network.sh
index 27c60c4..21e395f 100755
--- a/cron-sh/scripts/02_network.sh
+++ b/cron-sh/scripts/02_network.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/bash
# msec: network security checks
# check if we are run from main script
diff --git a/cron-sh/scripts/03_rpm.sh b/cron-sh/scripts/03_rpm.sh
index cf84d6e..7bb5e97 100755
--- a/cron-sh/scripts/03_rpm.sh
+++ b/cron-sh/scripts/03_rpm.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/bash
# msec: rpm security check
# check if we are run from main script
diff --git a/cron-sh/scripts/04_rootkit.sh b/cron-sh/scripts/04_rootkit.sh
index 3c98f6c..4b18541 100755
--- a/cron-sh/scripts/04_rootkit.sh
+++ b/cron-sh/scripts/04_rootkit.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/bash
# msec: rootkit security check
# check if we are run from main script
diff --git a/cron-sh/scripts/05_access.sh b/cron-sh/scripts/05_access.sh
index 2c77b06..19efc2b 100755
--- a/cron-sh/scripts/05_access.sh
+++ b/cron-sh/scripts/05_access.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/bash
# msec: system access
# check if we are run from main script
diff --git a/cron-sh/scripts/06_sectool.sh b/cron-sh/scripts/06_sectool.sh
index 759e330..de4c8fc 100755
--- a/cron-sh/scripts/06_sectool.sh
+++ b/cron-sh/scripts/06_sectool.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/bash
# msec: sectool check
# check if we are run from main script
diff --git a/cron-sh/security.sh b/cron-sh/security.sh
index 3021a78..016625b 100755
--- a/cron-sh/security.sh
+++ b/cron-sh/security.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/bash
# msec: this is the main security auditing script
# it runs all executable scripts from /usr/share/msec/scripts
# which should be named NN_script_name.sh, where NN represents
diff --git a/init-sh/upgrade.sh b/init-sh/upgrade.sh
index ceacb24..6b0feef 100755
--- a/init-sh/upgrade.sh
+++ b/init-sh/upgrade.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/bash
#
# This script upgrades msec configuration files from previous versions
# to the up-to-date format
diff --git a/src/msec/msec b/src/msec/msec
index c90bd82..83f22e4 100755
--- a/src/msec/msec
+++ b/src/msec/msec
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/sh
#
# Wrapper for msec.py
#
diff --git a/src/msec/msecgui b/src/msec/msecgui
index b7c9162..72d21f8 100755
--- a/src/msec/msecgui
+++ b/src/msec/msecgui
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/sh
#
# Wrapper for msecgui
#
diff --git a/src/msec/msecperms b/src/msec/msecperms
index c8db15f..ab80b74 100755
--- a/src/msec/msecperms
+++ b/src/msec/msecperms
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/sh
#
# Wrapper for msecperms.py
#