IMP(shellcheck): add prefix to define shell (SC2148)

This commit is contained in:
Thibault Ayanides 2020-11-27 09:22:47 +01:00
parent c17d04ecc2
commit 4add6ddc33
208 changed files with 208 additions and 0 deletions

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# CIS Debian Hardening common functions
# run-shellcheck

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# Defines constants for CIS Debian Hardening
# run-shellcheck

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
LONG_SCRIPT_NAME=$(basename $0)

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# CIS Debian Hardening Utility functions
# run-shellcheck

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
if [ -f "/.dockerenv" ]; then

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
if [ -f "/.dockerenv" ]; then

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
if [ -f "/.dockerenv" ]; then

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
if [ -f "/.dockerenv" ]; then

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
if [ -f "/.dockerenv" ]; then

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
if [ -f "/.dockerenv" ]; then

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
if [ -f "/.dockerenv" ]; then

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
if [ -f "/.dockerenv" ]; then

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
if [ -f "/.dockerenv" ]; then

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
if [ -f "/.dockerenv" ]; then

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
if [ -f "/.dockerenv" ]; then

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
if [ -f "/.dockerenv" ]; then

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
if [ -f "/.dockerenv" ]; then

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
# Make all variable local to the function by using `local`

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

View File

@ -1,3 +1,4 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host

Some files were not shown because too many files have changed in this diff Show More