🗃️ Committing everything that changed 🗃️

rootfs/usr/local/etc/docker/init.d/00-aria2c.sh
This commit is contained in:
casjay 2025-05-13 17:40:44 -04:00
parent 0cb473e7e0
commit 0d671d8ee2
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145

View File

@ -200,7 +200,7 @@ __run_pre_execute_checks() {
__banner "$pre_execute_checks_MessageST" __banner "$pre_execute_checks_MessageST"
# Put command to execute in parentheses # Put command to execute in parentheses
{ {
true /usr/local/bin/tracker.sh "$CONF_DIR/aria2.conf" "$CUSTOM_TRACKER_URL"
} }
exitStatus=$? exitStatus=$?
__banner "$pre_execute_checks_MessageEnd: Status $exitStatus" __banner "$pre_execute_checks_MessageEnd: Status $exitStatus"
@ -272,7 +272,6 @@ __update_conf_files() {
fi fi
cp -Rf "$CONF_DIR/aria-ng.config.js" "$WWW_ROOT_DIR/js/aria-ng-f1dd57abb9.min.js" cp -Rf "$CONF_DIR/aria-ng.config.js" "$WWW_ROOT_DIR/js/aria-ng-f1dd57abb9.min.js"
fi fi
/usr/local/bin/tracker.sh "$CONF_DIR/aria2.conf" "$CUSTOM_TRACKER_URL"
# allow custom functions # allow custom functions
if builtin type -t __update_conf_files_local | grep -q 'function'; then __update_conf_files_local; fi if builtin type -t __update_conf_files_local | grep -q 'function'; then __update_conf_files_local; fi
# exit function # exit function