Fix shellcheck warnings

This commit is contained in:
jo 2021-08-16 23:00:01 +02:00
parent dc999f9006
commit 9881eebf55
17 changed files with 90 additions and 75 deletions

View file

@ -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

View file

@ -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