mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 14:44:32 +00:00
18 lines
548 B
Bash
Executable File
18 lines
548 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# DEPRECATED: this script has been renamed to etc/init_port_forwards.sh
|
|
# Keep as a thin wrapper for backward compatibility.
|
|
|
|
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
NEW_SCRIPT="$SCRIPT_DIR/init_port_forwards.sh"
|
|
|
|
echo "[init-port-forwards.sh] WARNING: This script is deprecated. Please use etc/init_port_forwards.sh instead." >&2
|
|
|
|
if [ -x "$NEW_SCRIPT" ]; then
|
|
exec "$NEW_SCRIPT" "$@"
|
|
else
|
|
echo "[init-port-forwards.sh] ERROR: $NEW_SCRIPT not found or not executable." >&2
|
|
exit 127
|
|
fi
|