mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-15 17:08:19 +01:00
15 lines
283 B
Bash
Executable File
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
|