mirror of
https://github.com/AuxXxilium/arc-addons.git
synced 2024-11-23 21:50:52 +07:00
sspatch: fix
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
f43c00682d
commit
6e5d8be845
@ -6,6 +6,12 @@ if [ "${1}" = "late" ]; then
|
||||
mkdir -p "/tmpRoot/usr/arc/addons/"
|
||||
cp -vf "${0}" "/tmpRoot/usr/arc/addons/"
|
||||
|
||||
SO_FILE="/tmpRoot/var/packages/SurveillanceStation/target/lib/libssutils.so"
|
||||
if [ ! -f "${SO_FILE}" ]; then
|
||||
echo "SSPatch: libssutils.so does not exist"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Define the entries to be added
|
||||
ENTRIES=("0.0.0.0 synosurveillance.synology.com")
|
||||
|
||||
@ -30,8 +36,6 @@ if [ "${1}" = "late" ]; then
|
||||
fi
|
||||
fi
|
||||
done
|
||||
SO_FILE="/tmpRoot/usr/lib/libssutils.so"
|
||||
[ ! -f "${SO_FILE}" ] && echo "SSPatch: libssutils.so does not exist" && exit 0
|
||||
|
||||
# Check Sha256sum
|
||||
if [ "$(sha256sum "${SO_FILE}" | cut -d' ' -f1)" = "81b64d65f4a2a65626f9280ba43ea43f031a239af3152b859b79e1b5124cc6e3" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user