]> gitweb.hhaalo.de Git - simple-backup.git/commitdiff
change: lizenz hinweis generelle ausgabe
authorBastian Dehn <hhaalo@arcor.de>
Fri, 13 Sep 2019 21:18:29 +0000 (23:18 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Fri, 13 Sep 2019 21:18:29 +0000 (23:18 +0200)
backup
restore

diff --git a/backup b/backup
index fac3344ff14955ae3b20f928809f3e4a6a774a24..a52dc8256443c2f49d3c9b3d2f19df9632eac8a1 100755 (executable)
--- a/backup
+++ b/backup
@@ -5,8 +5,6 @@
 ## @brief Anzeige von der Hilfe
 usage()
 {
-       head -2 license
-       echo
        echo "backup [full | check | help]"
        echo
        echo "full: Backup ohne Hardlinks auf das vorherige Backup"
@@ -452,6 +450,8 @@ main()
        LIGHTPURPLE="\e[1;35m"
        LIGHTGREEN="\e[1;32m"
        RESET="\e[0m"
+       head -2 license
+       echo
        ReadArguments $*
        SetDefaultVariables
 
diff --git a/restore b/restore
index 3712790880c7faf1e60ef4b0fa7141760b20c3f4..1ff7f1260dea9bfa8d3ef751a733496586071176 100755 (executable)
--- a/restore
+++ b/restore
@@ -5,8 +5,6 @@
 ## @brief Zeigt die Hilfe an
 useage()
 {
-       head -2 license
-       echo
        echo "restore -d <Datum> -n <Nummer> -r <Rechner> -p <Pfad>"
        echo
        echo " -d    Datum von der Sicherung"
@@ -110,6 +108,8 @@ RestoreData()
 ## @brief Ablauf des Skripts
 main()
 {
+       head -2 license
+       echo
        SetDefaultVariables
        ReadArguments $*
        RestoreData