Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
fredclausen committed Nov 1, 2023
1 parent 10bd0be commit 095cb9e
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions rootfs/etc/s6-overlay/scripts/daemon-acars
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/command/with-contenv bash
# shellcheck shell=bash

# shellcheck disable=SC1091,SC2086,SC2016
source /scripts/common

s6wrap=(s6wrap --quiet --prepend="$(basename "$0")" --timestamps --args)
Expand Down
5 changes: 5 additions & 0 deletions rootfs/etc/s6-overlay/scripts/daemon-spotter
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/command/with-contenv bash
# shellcheck shell=bash

# shellcheck disable=SC1091,SC2086,SC2016
source /scripts/common

s6wrap=(s6wrap --quiet --prepend="$(basename "$0")" --timestamps --args)
if chk_enabled $QUIET_FAM; then
# shellcheck disable=SC1091,SC2086,SC2016
"${s6wrap[@]}" s6-setuidgid "$WEBUSER" php /var/www/flightairmap/htdocs/scripts/daemon-spotter.php 2>&1 | \
stdbuf -oL awk '! /\\o\//' | \
stdbuf -oL awk '! /DATA : /' | \
Expand All @@ -18,7 +20,10 @@ if chk_enabled $QUIET_FAM; then
stdbuf -oL awk '! /get arrival\/departure airport/' | \
stdbuf -oL awk '! /Deleting Live Spotter/' | \
stdbuf -oL awk '! /Calculated Speed/' | \
stdbuf -oL awk '! /Calculated Altitude/' | \
stdbuf -oL awk '! /Calculated Heading/' | \
stdbuf -oL awk '{print $0}'
else
# shellcheck disable=SC1091,SC2086,SC2016
"${s6wrap[@]}" s6-setuidgid "$WEBUSER" php /var/www/flightairmap/htdocs/scripts/daemon-spotter.php
fi
1 change: 1 addition & 0 deletions rootfs/etc/s6-overlay/scripts/mysql
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/command/with-contenv bash
# shellcheck shell=bash

# shellcheck disable=SC1091,SC2086,SC2016
source /scripts/common

s6wrap=(s6wrap --quiet --prepend="$(basename "$0")" --timestamps --args)
Expand Down
1 change: 1 addition & 0 deletions rootfs/etc/s6-overlay/scripts/nginx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/command/with-contenv bash
# shellcheck shell=bash

# shellcheck disable=SC1091,SC2086,SC2016
source /scripts/common

s6wrap=(s6wrap --quiet --prepend="$(basename "$0")" --timestamps --args)
Expand Down
1 change: 1 addition & 0 deletions rootfs/etc/s6-overlay/scripts/php-fpm
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/command/with-contenv bash
# shellcheck shell=bash

# shellcheck disable=SC1091,SC2086,SC2016
source /scripts/common

s6wrap=(s6wrap --quiet --prepend="$(basename "$0")" --timestamps --args)
Expand Down
1 change: 1 addition & 0 deletions rootfs/etc/s6-overlay/scripts/socat
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/command/with-contenv bash
# shellcheck shell=bash

# shellcheck disable=SC1091,SC2086,SC2016
source /scripts/common

s6wrap=(s6wrap --quiet --prepend="$(basename "$0")" --timestamps --args)
Expand Down
1 change: 1 addition & 0 deletions rootfs/etc/s6-overlay/scripts/update_db
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/command/with-contenv bash
# shellcheck shell=bash

# shellcheck disable=SC1091,SC2086,SC2016
source /scripts/common

s6wrap=(s6wrap --quiet --prepend="$(basename "$0")" --timestamps --args)
Expand Down

0 comments on commit 095cb9e

Please sign in to comment.