From 80a7f6fc0732141a221cf6dadc121d73010da02f Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sun, 25 Aug 2024 16:27:43 +0200 Subject: [PATCH] sspatch: final fix Signed-off-by: AuxXxilium --- sspatch/all/usr/bin/sspatch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sspatch/all/usr/bin/sspatch.sh b/sspatch/all/usr/bin/sspatch.sh index 8c5ef1f..4eccb71 100755 --- a/sspatch/all/usr/bin/sspatch.sh +++ b/sspatch/all/usr/bin/sspatch.sh @@ -68,8 +68,8 @@ if [ -d /var/packages/SurveillanceStation ]; then echo -e "SSPatch: ${SO_FILE} permissions set" # Remove warning message - sed -i 's/SYNO.API.RedirectToDSMByErrorCode=function(c){alert(SYNO.API.getErrorString(c));/SYNO.API.RedirectToDSMByErrorCode = () => { };/g' ${JS_FILE} - echo -e "SSPatch: sds.js patched" + #sed -i 's/SYNO.API.RedirectToDSMByErrorCode=function(c){alert(SYNO.API.getErrorString(c));/SYNO.API.RedirectToDSMByErrorCode = () => { };/g' ${JS_FILE} + #echo -e "SSPatch: sds.js patched" sleep 5 /usr/syno/bin/synopkg start SurveillanceStation