Files
hassio-addons/teamspeak/rootfs/etc/cont-init.d/20-folders.sh
2025-07-23 08:58:09 +00:00

15 lines
283 B
Bash
Executable File

#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
set -e
# Data remanence for /teamspeak/save
if [ -d /teamspeak ]; then
cp -rn /teamspeak/* /data
rm -r /teamspeak
ln -sf /data /teamspeak
chmod -R 777 /teamspeak
fi
#chown -R PUID:PGID /data
chmod -R 777 /data