add message box outline for no updates set
This commit is contained in:
parent
1ed5257235
commit
e92f5b104d
3 changed files with 15 additions and 8 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
# make folders
|
# make folders
|
||||||
mkdir -p /var/run/dbus
|
mkdir -p \
|
||||||
|
/var/run/dbus
|
||||||
|
|
||||||
# delete existing pid if found
|
# delete existing pid if found
|
||||||
[[ -e /var/run/dbus/pid ]] && \
|
[[ -e /var/run/dbus/pid ]] && \
|
||||||
|
|
@ -1,7 +1,15 @@
|
||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
# opt out for autoupdates
|
# set no update message
|
||||||
[ "$ADVANCED_DISABLEUPDATES" ] && \
|
#######################################################
|
||||||
|
# Update routine will not run, this is either because #
|
||||||
|
# you havent set the VERSION variable or have set #
|
||||||
|
# $ADVANCED_DISABLEUPDATES, for more information, see #
|
||||||
|
# <link not placed yet> #
|
||||||
|
#######################################################
|
||||||
|
|
||||||
|
# test for no version set or opt out for autoupdates
|
||||||
|
[[ "$ADVANCED_DISABLEUPDATES" ]] || && \
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
# set header for no preferences/token message
|
# set header for no preferences/token message
|
||||||
|
|
@ -1,13 +1,11 @@
|
||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
if [ ! -d "/config/Library" ]; then
|
# check for preferences file and exit out if not found
|
||||||
mkdir /config/Library
|
[[ ! -e "/config/Library/Application Support/Plex Media Server/Preferences.xml" ]] && \
|
||||||
chown abc:abc /config/Library
|
exit 0
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -f "/config/Library/linuxserver-chown.lock" ]; then
|
if [ ! -f "/config/Library/linuxserver-chown.lock" ]; then
|
||||||
find /config/Library ! \( -user abc -a -group abc \) -print0 | xargs -0 chown abc:abc
|
find /config/Library ! \( -user abc -a -group abc \) -print0 | xargs -0 chown abc:abc
|
||||||
touch /config/Library/linuxserver-chown.lock
|
touch /config/Library/linuxserver-chown.lock
|
||||||
chown abc:abc /config/Library/linuxserver-chown.lock
|
chown abc:abc /config/Library/linuxserver-chown.lock
|
||||||
fi
|
fi
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue