aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2005-12-28 19:52:22 +0000
committerintrigeri <intrigeri@boum.org>2005-12-28 19:52:22 +0000
commit0d606253af6ecb8ede07b0991a1f295fb70e7e65 (patch)
treeb0a487c5521aad923341c9ba9ef72fce6e962b99 /handlers
parent1d74ab1299f2147a4c942b7a64ec1647e92a8f1c (diff)
downloadbackupninja-0d606253af6ecb8ede07b0991a1f295fb70e7e65.tar.gz
backupninja-0d606253af6ecb8ede07b0991a1f295fb70e7e65.tar.bz2
Added the "Emacs comment line" on top of every shell file.
Diffstat (limited to 'handlers')
-rw-r--r--handlers/dup1
-rw-r--r--handlers/dup.helper1
-rw-r--r--handlers/ldap1
-rw-r--r--handlers/ldap.helper1
-rw-r--r--handlers/maildir1
-rw-r--r--handlers/makecd1
-rw-r--r--handlers/makecd.helper1
-rw-r--r--handlers/mysql1
-rw-r--r--handlers/mysql.helper3
-rw-r--r--handlers/pgsql1
-rw-r--r--handlers/pgsql.helper1
-rw-r--r--handlers/rdiff1
-rw-r--r--handlers/rdiff.helper1
-rw-r--r--handlers/sh1
-rw-r--r--handlers/svn1
-rwxr-xr-xhandlers/sys1
-rw-r--r--handlers/sys.helper1
-rw-r--r--handlers/trac1
18 files changed, 19 insertions, 1 deletions
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)
#