fix(rc.unraid-api): remove profile sourcing (#1622)

This change removes the line that sources `/etc/profile` from the
`rc.unraid-api` script. This is done to prevent unexpected side effects
and improve the script's isolation.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
This commit is contained in:
google-labs-jules[bot]
2025-08-26 13:11:16 -04:00
committed by GitHub
parent c4cc54923c
commit 6947b5d4af

View File

@@ -1,9 +1,6 @@
#!/bin/bash
# unraid-api-handler
# shellcheck source=/dev/null
source /etc/profile
unraid_binary_path="/usr/local/bin/unraid-api"
api_base_dir="/usr/local/unraid-api"
scripts_dir="/usr/local/share/dynamix.unraid.net/scripts"