Fix shellcheck warnings
This commit is contained in:
parent
dc999f9006
commit
9881eebf55
17 changed files with 90 additions and 75 deletions
|
@ -20,6 +20,7 @@ PIDFILE=/var/run/$NAME.pid
|
|||
[ -x "$DAEMON" ] || exit 0
|
||||
|
||||
# Read configuration variable file if it is present
|
||||
# shellcheck disable=SC1090
|
||||
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
|
||||
|
||||
# Load the VERBOSE setting and other rcS variables
|
||||
|
|
|
@ -17,7 +17,7 @@ post_file() {
|
|||
stripped_file_path=${file_path//','/''}
|
||||
mv "${file_path}" "${stripped_file_path}"
|
||||
file_path="${stripped_file_path}"
|
||||
filename="${file_path##*/}"
|
||||
# filename="${file_path##*/}"
|
||||
|
||||
airtime_conf_path=/etc/airtime/airtime.conf
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue