Skip to content

Commit

Permalink
1.3
Browse files Browse the repository at this point in the history
(import from local svn)
  • Loading branch information
reidemei committed Dec 4, 2020
1 parent 1b7778e commit 833023a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions source/CHANGELOG
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion source/INFO
Original file line number Diff line number Diff line change
@@ -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."
Expand Down
2 changes: 1 addition & 1 deletion source/build
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions source/package/web/index.htmlt
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
<ul style="line-height: 16px;">
<li><a href="index.cgi?action=log">View the log file</a></li>
<li><a href="localbackup.cgi">Create an autorun script for the local backup</a> (with optional encryption)</li>
<li><a href="encrypt.cgi">Restore an encrypted backup</a></li>
</ul>

<div class="h3"/>
Expand Down
2 changes: 1 addition & 1 deletion source/package/web/localbackup.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if (open (IN,"/bin/mount 2>&1 |")) {
} else {
$text = "<form $text /></td><td></td>\n";
}
$tmplhtml{'BACKUPS'} = "$tmplhtml{'BACKUPS'}\t\t<tr height=\"27\">\n\t\t\t$text\n\t\t</tr>\n";
$tmplhtml{'BACKUPS'} = "$tmplhtml{'BACKUPS'}\t\t<tr height=\"27\">\n\t\t\t$text\n\t\t\t</form>\n\t\t</tr>\n";
}
}
close(IN);
Expand Down

0 comments on commit 833023a

Please sign in to comment.