fix: unraid-api in usr/bin

This commit is contained in:
Eli Bosley
2024-10-25 09:23:04 -04:00
parent 42189dd451
commit 198cfe5015
6 changed files with 12 additions and 5 deletions

View File

@@ -721,7 +721,8 @@ if [[ -z "${email}" ]] || [[ CFG_CLEANED -eq 1 ]]; then
fi
# make the unraid-api work globally for easy cli access
ln -s /usr/local/bin/unraid-api/unraid-api /usr/local/sbin/unraid-api
ln -s /usr/bin/unraid-api /usr/local/sbin/unraid-api
ln -s /usr/bin/unraid-api /usr/local/bin/unraid-api
# configure flash backup to stop when the system starts shutting down
[[ ! -d /etc/rc.d/rc6.d ]] && mkdir /etc/rc.d/rc6.d