Skip to content

Commit

Permalink
ffgraz-ddhcpd: silence shellcheck issues
Browse files Browse the repository at this point in the history
  • Loading branch information
grische committed Nov 24, 2023
1 parent 5ead058 commit ea1ed1d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ffgraz-ddhcpd/files/etc/init.d/ddhcpd
Original file line number Diff line number Diff line change
@@ -1,4 +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

START=90
USE_PROCD=1
Expand Down Expand Up @@ -52,6 +55,7 @@ start_service() {
procd_append_param command -t "$tentative_timeout"
procd_append_param command -H "/etc/ddhcpd.hook"
config_foreach dhcp_option dhcp_option
# shellcheck disable=SC2046 # word splitting is intentional for the command arguments
[[ -f /lib/gluon/ddhcpd/arguments ]] && procd_append_param command $(/lib/gluon/ddhcpd/arguments)
procd_set_param respawn
procd_set_param netdev "$dhcp_interface"
Expand Down
1 change: 1 addition & 0 deletions ffgraz-ddhcpd/files/usr/lib/autoupdater/abort.d/50ddhcpd
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/sh

# shellcheck source=/dev/null
. /lib/gluon/autoupdater/lib.sh


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/sh

# shellcheck source=/dev/null
. /lib/gluon/autoupdater/lib.sh


Expand Down

0 comments on commit ea1ed1d

Please sign in to comment.