rebase to xenial
This commit is contained in:
parent
b9224a43b0
commit
501683a3d5
13 changed files with 111 additions and 715 deletions
12
root/etc/cont-init.d/40-chown-files
Normal file
12
root/etc/cont-init.d/40-chown-files
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [ ! -d "/config/Library" ]; then
|
||||
mkdir /config/Library
|
||||
chown abc:abc /config/Library
|
||||
fi
|
||||
|
||||
if [ ! -f "/config/Library/linuxserver-chown.lock" ]; then
|
||||
find /config/Library ! \( -user abc -a -group root \) -print0 | xargs -0 chown abc:root
|
||||
touch /config/Library/linuxserver-chown.lock
|
||||
fi
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue