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 # CIS Debian Hardening common functions
# run-shellcheck # run-shellcheck

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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