Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 1 addition & 16 deletions tsc
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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"

Expand Down Expand Up @@ -717,9 +705,6 @@ do
toonstore)
toonStore
;;
postnl)
postNL
;;
deletefile)
deleteFile
;;
Expand Down