rclone_script-install.sh

* fixed config parameter showNotifications
* added config parameter syncOnStartStop

rclone_script-menu.sh
* moved full sync here
* made parameter showNotifications toggleable
* made parameter syncOnStartStop toggleable

rclone_script.sh
* extended function showNotification
* extended function downloadSaves
* extended function uploadSaves
* removed function doFullSync
This commit is contained in:
Jandalf81
2018-08-15 14:56:36 +02:00
parent 5171a24c48
commit df8f530923
3 changed files with 186 additions and 43 deletions

View File

@@ -1124,7 +1124,8 @@ function 9aSaveConfiguration ()
printf "$(date +%FT%T%:z):\t9aSaveConfiguration\tSTART\n" >> "${logfile}"
echo "remotebasedir=${remotebasedir}" > ~/scripts/rclone_script/rclone_script.ini
echo "shownotifications=${shownotifications}" >> ~/scripts/rclone_script/rclone_script.ini
echo "showNotifications=${shownotifications}" >> ~/scripts/rclone_script/rclone_script.ini
echo "syncOnStartStop=\"TRUE\"" >> ~/scripts/rclone_script/rclone_script.ini
echo "logfile=~/scripts/rclone_script/rclone_script.log" >> ~/scripts/rclone_script/rclone_script.ini
echo "debug=0" >> ~/scripts/rclone_script/rclone_script.ini