Skip to content

Commit 17ffaeb

Browse files
committed
ShellCheck fixes.
1 parent 91d8658 commit 17ffaeb

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
FanConfig
1+
FanConfig
2+
jls.cnfg

FanControl.tool

+1-1
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ elif [ ! -f "${configFile}" ]; then
653653
fi
654654

655655
# Source external config file
656-
# shellcheck source=/dev/null
656+
# shellcheck source=./FanConfig
657657
. "${configFile}"
658658

659659
# Check if needed software is installed.

jls.tool

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# shellcheck disable=SC2236,SC2086,SC2068
2+
# shellcheck disable=SC2236,SC2086,SC2068,SC2317,SC2155
33

44
# Config
55

@@ -23,6 +23,7 @@ ioRelease="13.1-RELEASE" # LATEST
2323
# Common paths to be mounted into jails (relative to the host).
2424
mediaPth="/mnt/data/Media" # path to media; will be mounted to `/media` in jails
2525
jDataPath="/mnt/jails/Data" # prefix path to where persistant jail application data will be ie: `/mnt/jails/Data/znc` these datasets will need to be created prior to making the jail
26+
gitPath="/mnt/data/git" # a location for git repos so a different Record Size can be set
2627
backupPth="/mnt/data/Backups" # prefix path to backup locations ie: `/mnt/data/Backups/plex`
2728
scriptPth="/mnt/jails/scripts" # path to a common set of scripts
2829
thingPath="/mnt/data/Things" # path to a general SMB share
@@ -358,6 +359,7 @@ elif [ -z "${jlType}" ]; then
358359
exit 1
359360
fi
360361

362+
# shellcheck source=./jls.cnfg
361363
. "${configFile}"
362364

363365
# Do not run if the config file has not been edited.

0 commit comments

Comments
 (0)