From b5943ff27053844e098d71611feb315030f0236a Mon Sep 17 00:00:00 2001 From: ToonzDev <35101966+ToonzDev@users.noreply.github.com> Date: Tue, 14 Nov 2023 14:15:14 +0100 Subject: [PATCH] Remove Postnl function --- tsc | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/tsc b/tsc index 27a9591..3e62cda 100755 --- a/tsc +++ b/tsc @@ -1,5 +1,5 @@ #!/bin/sh -SCRIPTVERSION="2.61" +SCRIPTVERSION="2.62" #this is the PROD release for TSC helper script BETA=false SCRIPTURL="https://raw.githubusercontent.com/ToonSoftwareCollective/tscSettings/main" @@ -407,18 +407,6 @@ toonStore() { killall -9 qt-gui } -postNL() { - if [ -s /mnt/data/tsc/postnl.userSettings.json ] - then - USERID=`cat /mnt/data/tsc/postnl.userSettings.json | sed 's/,/\n/g' | grep Userid | sed 's/.*"Userid":"\(.*\)".*/\1/'` - PASSWORD=`cat /mnt/data/tsc/postnl.userSettings.json | sed 's/,/\n/g' | grep Password | sed 's/.*"Password":"\(.*\)".*/\1/'` - if [ -n "$USERID" ] && [ -n "$PASSWORD" ] && [ -s /qmf/qml/apps/postnl/postnl.sh ] - then - /bin/sh /qmf/qml/apps/postnl/postnl.sh -u $USERID -p $PASSWORD -d /tmp/postnl - fi - fi -} - deleteFile() { echo "$(date '+%d/%m/%Y %H:%M:%S') Delete file(s) from /mnt/data/tsc/appData" @@ -717,9 +705,6 @@ do toonstore) toonStore ;; - postnl) - postNL - ;; deletefile) deleteFile ;;