mirror of
https://github.com/AuxXxilium/arc-addons.git
synced 2024-11-23 21:50:52 +07:00
amepatch/allowdowngrade: modify logic
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
6a5031aae1
commit
2647b8ba01
@ -15,3 +15,16 @@
|
||||
# Allow Surveillance Station Downgrade on DSM 7.2.2
|
||||
/usr/syno/bin/synosetkeyvalue /etc.defaults/synopackageslimit.conf SurveillanceStation "9.2.0-11289"
|
||||
/usr/syno/bin/synosetkeyvalue /etc/synopackageslimit.conf SurveillanceStation "9.2.0-11289"
|
||||
|
||||
# Prevent AME from updating
|
||||
if [ -d "/var/packages/CodecPack" ]; then
|
||||
/usr/syno/bin/synosetkeyvalue /var/packages/CodecPack/INFO version "30.1.0-3005"
|
||||
fi
|
||||
# Prevent VideoStation from updating
|
||||
if [ -d "/var/packages/VideoStation" ]; then
|
||||
/usr/syno/bin/synosetkeyvalue /var/packages/VideoStation/INFO version "30.1.0-3153"
|
||||
fi
|
||||
# Prevent Surveillance Station from updating
|
||||
if [ -d "/var/packages/SurveillanceStation" ]; then
|
||||
/usr/syno/bin/synosetkeyvalue /var/packages/SurveillanceStation/INFO version "90.2.0-11289"
|
||||
fi
|
@ -20,6 +20,7 @@ Description=addon amepatch
|
||||
DefaultDependencies=no
|
||||
IgnoreOnIsolate=true
|
||||
After=multi-user.target
|
||||
After=allowdowngrade.service
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
|
Loading…
Reference in New Issue
Block a user