mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-18 18:38:17 +01:00
14 lines
276 B
Bash
14 lines
276 B
Bash
#!/usr/bin/with-contenv bashio
|
|
# shellcheck shell=bash
|
|
|
|
# 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:GUID /data
|
|
chmod -R 777 /data
|