Skip to content

Commit

Permalink
remove shellcheck workarounds for busybox sh
Browse files Browse the repository at this point in the history
  • Loading branch information
grische committed Mar 9, 2024
1 parent d66fc80 commit 98459e2
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/busybox sh
# shellcheck shell=dash

# shellcheck source=/dev/null
. /lib/functions.sh
Expand Down
4 changes: 1 addition & 3 deletions ffgraz-blink/files/usr/bin/gluon-blink
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/bin/sh
# SC3048 is supported in busybox sh
# shellcheck disable=SC3048
#!/bin/busybox sh

# Makes your current device blink

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/busybox sh
# shellcheck shell=dash

CACHE_TTL=600
CACHE_FILE=/tmp/ddhcp_gw_cache
Expand Down
4 changes: 2 additions & 2 deletions ffgraz-ddhcpd/files/etc/init.d/ddhcpd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh /etc/rc.common
# SC2034,SC2154: /etc/rc.common imports this script and uses variables defined here
# SC3010,SC3014,SC3043: [[ ]], == and local is defined in busybox sh
# shellcheck disable=SC2034,SC2154,SC3010,SC3014,SC3043
# shellcheck disable=SC2034,SC2154
# shellcheck shell="busybox sh"

START=90
USE_PROCD=1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/busybox sh
# shellcheck shell=dash

# fail fast and abort early
set -eu
Expand Down

0 comments on commit 98459e2

Please sign in to comment.