From 0d606253af6ecb8ede07b0991a1f295fb70e7e65 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Wed, 28 Dec 2005 19:52:22 +0000 Subject: [PATCH] Added the "Emacs comment line" on top of every shell file. --- handlers/dup | 1 + handlers/dup.helper | 1 + handlers/ldap | 1 + handlers/ldap.helper | 1 + handlers/maildir | 1 + handlers/makecd | 1 + handlers/makecd.helper | 1 + handlers/mysql | 1 + handlers/mysql.helper | 3 ++- handlers/pgsql | 1 + handlers/pgsql.helper | 1 + handlers/rdiff | 1 + handlers/rdiff.helper | 1 + handlers/sh | 1 + handlers/svn | 1 + handlers/sys | 1 + handlers/sys.helper | 1 + handlers/trac | 1 + src/backupninja.in | 2 ++ 19 files changed, 21 insertions(+), 1 deletion(-) diff --git a/handlers/dup b/handlers/dup index bbdb0ae..b6c2bfd 100644 --- a/handlers/dup +++ b/handlers/dup @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # duplicity script for backupninja # requires duplicity diff --git a/handlers/dup.helper b/handlers/dup.helper index 15afcfd..1ae6581 100644 --- a/handlers/dup.helper +++ b/handlers/dup.helper @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- HELPERS="$HELPERS dup:incremental_encrypted_remote_filesystem_backup" ### Functions diff --git a/handlers/ldap b/handlers/ldap index 3bc01d4..e6bdb22 100644 --- a/handlers/ldap +++ b/handlers/ldap @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # openldap backup handler script for backupninja # diff --git a/handlers/ldap.helper b/handlers/ldap.helper index 838c731..bd77ca1 100644 --- a/handlers/ldap.helper +++ b/handlers/ldap.helper @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- HELPERS="$HELPERS ldap:ldap_database_backup" ldap_create_file() { diff --git a/handlers/maildir b/handlers/maildir index 5219bef..a729a3a 100644 --- a/handlers/maildir +++ b/handlers/maildir @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- ############################################################### # # This handler slowly creates a backup of each user's maildir diff --git a/handlers/makecd b/handlers/makecd index 81c957d..b176994 100644 --- a/handlers/makecd +++ b/handlers/makecd @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # burncd handler script for backupninja # diff --git a/handlers/makecd.helper b/handlers/makecd.helper index 1352b3b..89a4ed0 100644 --- a/handlers/makecd.helper +++ b/handlers/makecd.helper @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- HELPERS="$HELPERS makecd:makecd_backup" wizardname="makecd action wizard" diff --git a/handlers/mysql b/handlers/mysql index 8507acc..7ca9ab6 100644 --- a/handlers/mysql +++ b/handlers/mysql @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # mysql handler script for backupninja # diff --git a/handlers/mysql.helper b/handlers/mysql.helper index 87de311..b24c931 100644 --- a/handlers/mysql.helper +++ b/handlers/mysql.helper @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- HELPERS="$HELPERS mysql:mysql_database_backup" do_mysql_vserver() { @@ -207,4 +208,4 @@ EOF "debian") do_mysql_debian;return;; esac done -} \ No newline at end of file +} diff --git a/handlers/pgsql b/handlers/pgsql index dd1a2ea..ccfe759 100644 --- a/handlers/pgsql +++ b/handlers/pgsql @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # PostgreSQL handler script for backupninja # diff --git a/handlers/pgsql.helper b/handlers/pgsql.helper index aa807a5..599c232 100644 --- a/handlers/pgsql.helper +++ b/handlers/pgsql.helper @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- HELPERS="$HELPERS pgsql:postgresql_database_backup" do_pgsql_vserver() { diff --git a/handlers/rdiff b/handlers/rdiff index 05aacc3..209606d 100644 --- a/handlers/rdiff +++ b/handlers/rdiff @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # rdiff-backup handler script for backupninja # requires rdiff-backup diff --git a/handlers/rdiff.helper b/handlers/rdiff.helper index 8fad847..6df4fe2 100644 --- a/handlers/rdiff.helper +++ b/handlers/rdiff.helper @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- HELPERS="$HELPERS rdiff:incremental_remote_filesystem_backup" declare -a rdiff_includes diff --git a/handlers/sh b/handlers/sh index 6b1644d..f9f1926 100644 --- a/handlers/sh +++ b/handlers/sh @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # shell script handler for backupninja # runs the file /etc/backup.d/scriptname.sh diff --git a/handlers/svn b/handlers/svn index 4dca225..26afafd 100644 --- a/handlers/svn +++ b/handlers/svn @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # this handler will backup subversion repostitories. # diff --git a/handlers/sys b/handlers/sys index 66f1595..dd49a3e 100755 --- a/handlers/sys +++ b/handlers/sys @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # this handler will save various reports of vital system information. # by default, all the reports are enabled and are saved in /var/backups. diff --git a/handlers/sys.helper b/handlers/sys.helper index a984c05..2d48ea5 100644 --- a/handlers/sys.helper +++ b/handlers/sys.helper @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- HELPERS="$HELPERS sys:general_hardware_and_system_info" sys_wizard() { diff --git a/handlers/trac b/handlers/trac index 1c1b464..5427924 100644 --- a/handlers/trac +++ b/handlers/trac @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # this handler will backup trac environments (based on the svn handler) # diff --git a/src/backupninja.in b/src/backupninja.in index 249a748..9330902 100755 --- a/src/backupninja.in +++ b/src/backupninja.in @@ -1,4 +1,6 @@ #!@BASH@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# # |\_ # B A C K U P N I N J A /()/ # `\| -- 2.30.2