Files
tor/rootfs/root/docker/setup/05-custom.sh
T

44 lines
1.5 KiB
Bash
Raw Normal View History

2025-01-06 11:33:06 -05:00
#!/usr/bin/env bash
2025-11-21 05:25:29 -05:00
# shellcheck shell=bash
# - - - - - - - - - - - - - - - - - - - - - - - - -
2026-05-26 18:08:53 -04:00
##@Version : 202605261538-git
2025-01-06 11:33:06 -05:00
# @@Author : CasjaysDev
# @@Contact : CasjaysDev <docker-admin@casjaysdev.pro>
# @@License : MIT
2026-05-26 18:08:53 -04:00
# @@Copyright : Copyright 2026 CasjaysDev
# @@Created : Tue May 26 03:38:51 PM EDT 2026
2025-01-06 11:33:06 -05:00
# @@File : 05-custom.sh
# @@Description : script to run custom
2025-11-21 05:25:29 -05:00
# @@Changelog : newScript
# @@TODO : Refactor code
# @@Other : N/A
# @@Resource : N/A
# @@Terminal App : yes
# @@sudo/root : yes
# @@Template : templates/dockerfiles/init_scripts/05-custom.sh
# - - - - - - - - - - - - - - - - - - - - - - - - -
2026-05-26 18:08:53 -04:00
# shellcheck disable=SC1001,SC1003,SC2001,SC2003,SC2016,SC2031,SC2090,SC2115,SC2120,SC2155,SC2199,SC2229,SC2317,SC2329
2025-11-21 05:25:29 -05:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
2025-01-06 11:33:06 -05:00
# Set bash options
set -o pipefail
[ "$DEBUGGER" = "on" ] && echo "Enabling debugging" && set -x$DEBUGGER_OPTIONS
2025-11-21 05:25:29 -05:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
2025-01-06 11:33:06 -05:00
# Set env variables
exitCode=0
2025-11-21 05:25:29 -05:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
2025-01-06 11:33:06 -05:00
# Predefined actions
2025-11-21 05:25:29 -05:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
2025-01-06 11:33:06 -05:00
# Main script
2025-11-21 05:25:29 -05:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
2025-01-06 11:33:06 -05:00
# Set the exit code
2026-05-26 18:08:53 -04:00
exitCode=$?
2025-11-21 05:25:29 -05:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
2025-01-06 11:33:06 -05:00
exit $exitCode
2025-11-21 05:25:29 -05:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
# ex: ts=2 sw=2 et filetype=sh
# - - - - - - - - - - - - - - - - - - - - - - - - -
2026-05-26 18:08:53 -04:00