mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-22 11:30:32 +01:00
Create 21-folders
This commit is contained in:
11
plex/root/etc/cont-init.d/21-folders
Normal file
11
plex/root/etc/cont-init.d/21-folders
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
##################
|
||||||
|
# SYMLINK CONFIG #
|
||||||
|
##################
|
||||||
|
|
||||||
|
if [ /share/plex/Library ]; then
|
||||||
|
echo "Using existing Library folder"
|
||||||
|
rm /config/Library
|
||||||
|
ln -s /share/plex/Library /config
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user