From 833023a908bcb1e4f4058a25587ff8d2faf89499 Mon Sep 17 00:00:00 2001 From: reidemei <75470099+reidemei@users.noreply.github.com> Date: Fri, 4 Dec 2020 10:00:41 +0100 Subject: [PATCH] 1.3 (import from local svn) --- source/CHANGELOG | 2 ++ source/INFO | 2 +- source/build | 2 +- source/package/web/index.htmlt | 1 + source/package/web/localbackup.cgi | 2 +- 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/source/CHANGELOG b/source/CHANGELOG index 8d779a3..3e72b38 100644 --- a/source/CHANGELOG +++ b/source/CHANGELOG @@ -1,3 +1,5 @@ + - changed: link to restore encrypted backup added to main page + - fixed: unable to create backup-script when multiple drives attached (on some browsers) 1.2 - new: show warning for required Perl package 1.1 diff --git a/source/INFO b/source/INFO index e6e4e2a..29c89e9 100644 --- a/source/INFO +++ b/source/INFO @@ -1,5 +1,5 @@ package="autorun" -version="1.2" +version="1.3" maintainer="Jan Reidemeister" description="Execute scripts when connecting external drives (USB / eSATA). Includes GUI to create such scripts for the build-in local backup and allows to encrypt the backups. Starting with DSM 4.2 the Perl package is also required." description_ger="Erlaubt das automatische Ausführen von Skripten beim Anschluss von externen Geräten (USB / eSATA). Inklusive Oberfläche zum Erstellen passender Skripte für die Datensicherung, auch mit Verschlüsselung. Ab DSM 4.2 wird zusätzlich das Perl-Paket benötigt." diff --git a/source/build b/source/build index b5e0bb0..6476ce8 100644 --- a/source/build +++ b/source/build @@ -1,5 +1,5 @@ rm package.tgz rm autorun.spk tar -czvf package.tgz -C package/ autorun hotplug localbackup encryptbackup config web -X tarexclude -tar -cvvf autorun-1.2.spk INFO CHANGELOG LICENSE PACKAGE_ICON.PNG WIZARD_UIFILES scripts package.tgz -X tarexclude +tar -cvvf autorun-1.3.spk INFO CHANGELOG LICENSE PACKAGE_ICON.PNG WIZARD_UIFILES scripts package.tgz -X tarexclude rm package.tgz diff --git a/source/package/web/index.htmlt b/source/package/web/index.htmlt index 3dfb7b0..c263719 100644 --- a/source/package/web/index.htmlt +++ b/source/package/web/index.htmlt @@ -87,6 +87,7 @@
diff --git a/source/package/web/localbackup.cgi b/source/package/web/localbackup.cgi index 532ae05..cafb188 100644 --- a/source/package/web/localbackup.cgi +++ b/source/package/web/localbackup.cgi @@ -90,7 +90,7 @@ if (open (IN,"/bin/mount 2>&1 |")) { } else { $text = "
\n"; } - $tmplhtml{'BACKUPS'} = "$tmplhtml{'BACKUPS'}\t\t\n\t\t\t$text\n\t\t\n"; + $tmplhtml{'BACKUPS'} = "$tmplhtml{'BACKUPS'}\t\t\n\t\t\t$text\n\t\t\t
\n\t\t\n"; } } close(IN);