Files
opengist/rootfs/root/docker/setup/06-post.sh
T

43 lines
1.5 KiB
Bash
Raw Normal View History

2025-09-16 23:50:20 -04:00
#!/usr/bin/env bash
2025-11-29 08:22:47 -05:00
# shellcheck shell=bash
# - - - - - - - - - - - - - - - - - - - - - - - - -
##@Version : 202511290809-git
2025-09-16 23:50:20 -04:00
# @@Author : CasjaysDev
# @@Contact : CasjaysDev <docker-admin@casjaysdev.pro>
# @@License : MIT
2025-11-29 08:22:47 -05:00
# @@Copyright : Copyright 2025 CasjaysDev
# @@Created : Sat Nov 29 08:09:47 AM EST 2025
2025-09-16 23:50:20 -04:00
# @@File : 06-post.sh
# @@Description : script to run post
2025-11-29 08:22:47 -05:00
# @@Changelog : newScript
# @@TODO : Refactor code
# @@Other : N/A
# @@Resource : N/A
# @@Terminal App : yes
# @@sudo/root : yes
# @@Template : templates/dockerfiles/init_scripts/06-post.sh
# - - - - - - - - - - - - - - - - - - - - - - - - -
# shellcheck disable=SC1001,SC1003,SC2001,SC2003,SC2016,SC2031,SC2090,SC2115,SC2120,SC2155,SC2199,SC2229,SC2317,SC2329
# - - - - - - - - - - - - - - - - - - - - - - - - -
2025-09-16 23:50:20 -04:00
# Set bash options
set -o pipefail
[ "$DEBUGGER" = "on" ] && echo "Enabling debugging" && set -x$DEBUGGER_OPTIONS
2025-11-29 08:22:47 -05:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
2025-09-16 23:50:20 -04:00
# Set env variables
exitCode=0
2025-11-29 08:22:47 -05:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
# Predefined actions
# - - - - - - - - - - - - - - - - - - - - - - - - -
2025-09-16 23:50:20 -04:00
# Main script
2025-11-29 08:22:47 -05:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
2025-09-16 23:50:20 -04:00
# Set the exit code
2025-11-29 08:22:47 -05:00
#exitCode=$?
# - - - - - - - - - - - - - - - - - - - - - - - - -
2025-09-16 23:50:20 -04:00
exit $exitCode
2025-11-29 08:22:47 -05:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
# ex: ts=2 sw=2 et filetype=sh
# - - - - - - - - - - - - - - - - - - - - - - - - -