mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
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:
committed by
GitHub
parent
c4cc54923c
commit
6947b5d4af
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user