Skip to content

Commit

Permalink
Use path for snapraid bin
Browse files Browse the repository at this point in the history
Find the snapraid binary using its path, it's no longer an hardcoded value
Resolves #127
  • Loading branch information
auanasgheps authored Oct 23, 2024
1 parent 0caec4b commit 51cfba6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ EXECUTE_BEFORE_SPINDOWN=0
####################### SYSTEM CONFIGURATION #######################
# Please make changes only if you know what you're doing

# location of the snapraid binary
SNAPRAID_BIN="/usr/bin/snapraid"
# locate snapraid using path
SNAPRAID_BIN="$(command -v snapraid)"
# location of the mail program binary
MAIL_BIN="/usr/bin/mailx"

Expand Down

0 comments on commit 51cfba6

Please sign in to comment.