diff options
author | intrigeri <intrigeri@boum.org> | 2005-12-28 19:59:12 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2005-12-28 19:59:12 +0000 |
commit | cfc47e5571e61f4323b9f64f9cbb64dfbc4bf1b4 (patch) | |
tree | 5a1de16e9f2c047047f63ba4a5f509a7158e1e0b | |
parent | 0d606253af6ecb8ede07b0991a1f295fb70e7e65 (diff) | |
download | backupninja-cfc47e5571e61f4323b9f64f9cbb64dfbc4bf1b4.tar.gz backupninja-cfc47e5571e61f4323b9f64f9cbb64dfbc4bf1b4.tar.bz2 |
r261@crapouille: intrigeri | 2005-12-28 20:59:01 +0100
Changed default indentation level to 8, to make it presbyopia-friendly
-rw-r--r-- | handlers/dup | 2 | ||||
-rw-r--r-- | handlers/dup.helper | 2 | ||||
-rw-r--r-- | handlers/ldap | 2 | ||||
-rw-r--r-- | handlers/ldap.helper | 2 | ||||
-rw-r--r-- | handlers/maildir | 3 | ||||
-rw-r--r-- | handlers/makecd | 2 | ||||
-rw-r--r-- | handlers/makecd.helper | 3 | ||||
-rw-r--r-- | handlers/mysql | 2 | ||||
-rw-r--r-- | handlers/mysql.helper | 3 | ||||
-rw-r--r-- | handlers/pgsql | 2 | ||||
-rw-r--r-- | handlers/pgsql.helper | 3 | ||||
-rw-r--r-- | handlers/rdiff | 2 | ||||
-rw-r--r-- | handlers/rdiff.helper | 3 | ||||
-rw-r--r-- | handlers/sh | 2 | ||||
-rw-r--r-- | handlers/svn | 2 | ||||
-rwxr-xr-x | handlers/sys | 2 | ||||
-rw-r--r-- | handlers/sys.helper | 3 | ||||
-rw-r--r-- | handlers/trac | 2 | ||||
-rwxr-xr-x | src/backupninja.in | 2 | ||||
-rwxr-xr-x | src/ninjahelper.in | 1 |
20 files changed, 26 insertions, 19 deletions
diff --git a/handlers/dup b/handlers/dup index b6c2bfd..1b899da 100644 --- a/handlers/dup +++ b/handlers/dup @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- # # duplicity script for backupninja # requires duplicity diff --git a/handlers/dup.helper b/handlers/dup.helper index 1ae6581..7036dd8 100644 --- a/handlers/dup.helper +++ b/handlers/dup.helper @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- HELPERS="$HELPERS dup:incremental_encrypted_remote_filesystem_backup" ### Functions diff --git a/handlers/ldap b/handlers/ldap index e6bdb22..9ec48a7 100644 --- a/handlers/ldap +++ b/handlers/ldap @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- # # openldap backup handler script for backupninja # diff --git a/handlers/ldap.helper b/handlers/ldap.helper index bd77ca1..cfc9933 100644 --- a/handlers/ldap.helper +++ b/handlers/ldap.helper @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- HELPERS="$HELPERS ldap:ldap_database_backup" ldap_create_file() { diff --git a/handlers/maildir b/handlers/maildir index a729a3a..b678b83 100644 --- a/handlers/maildir +++ b/handlers/maildir @@ -1,4 +1,5 @@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- + ############################################################### # # This handler slowly creates a backup of each user's maildir diff --git a/handlers/makecd b/handlers/makecd index b176994..97951d2 100644 --- a/handlers/makecd +++ b/handlers/makecd @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- # # burncd handler script for backupninja # diff --git a/handlers/makecd.helper b/handlers/makecd.helper index 89a4ed0..3485f39 100644 --- a/handlers/makecd.helper +++ b/handlers/makecd.helper @@ -1,4 +1,5 @@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- + HELPERS="$HELPERS makecd:makecd_backup" wizardname="makecd action wizard" diff --git a/handlers/mysql b/handlers/mysql index 7ca9ab6..277a345 100644 --- a/handlers/mysql +++ b/handlers/mysql @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- # # mysql handler script for backupninja # diff --git a/handlers/mysql.helper b/handlers/mysql.helper index b24c931..46cb8bc 100644 --- a/handlers/mysql.helper +++ b/handlers/mysql.helper @@ -1,4 +1,5 @@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- + HELPERS="$HELPERS mysql:mysql_database_backup" do_mysql_vserver() { diff --git a/handlers/pgsql b/handlers/pgsql index ccfe759..7786809 100644 --- a/handlers/pgsql +++ b/handlers/pgsql @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- # # PostgreSQL handler script for backupninja # diff --git a/handlers/pgsql.helper b/handlers/pgsql.helper index 599c232..6a5bbef 100644 --- a/handlers/pgsql.helper +++ b/handlers/pgsql.helper @@ -1,4 +1,5 @@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- + HELPERS="$HELPERS pgsql:postgresql_database_backup" do_pgsql_vserver() { diff --git a/handlers/rdiff b/handlers/rdiff index 209606d..08e24eb 100644 --- a/handlers/rdiff +++ b/handlers/rdiff @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- # # rdiff-backup handler script for backupninja # requires rdiff-backup diff --git a/handlers/rdiff.helper b/handlers/rdiff.helper index 6df4fe2..fa61e3f 100644 --- a/handlers/rdiff.helper +++ b/handlers/rdiff.helper @@ -1,4 +1,5 @@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- + HELPERS="$HELPERS rdiff:incremental_remote_filesystem_backup" declare -a rdiff_includes diff --git a/handlers/sh b/handlers/sh index f9f1926..a2b64b9 100644 --- a/handlers/sh +++ b/handlers/sh @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 8; 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 26afafd..891b8e9 100644 --- a/handlers/svn +++ b/handlers/svn @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- # # this handler will backup subversion repostitories. # diff --git a/handlers/sys b/handlers/sys index dd49a3e..94f76cf 100755 --- a/handlers/sys +++ b/handlers/sys @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 8; 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 2d48ea5..21e5370 100644 --- a/handlers/sys.helper +++ b/handlers/sys.helper @@ -1,4 +1,5 @@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- + HELPERS="$HELPERS sys:general_hardware_and_system_info" sys_wizard() { diff --git a/handlers/trac b/handlers/trac index 5427924..fb5052c 100644 --- a/handlers/trac +++ b/handlers/trac @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 8; 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 9330902..5db2ff1 100755 --- a/src/backupninja.in +++ b/src/backupninja.in @@ -1,5 +1,5 @@ #!@BASH@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- # # |\_ # B A C K U P N I N J A /()/ diff --git a/src/ninjahelper.in b/src/ninjahelper.in index e39e79f..e191f60 100755 --- a/src/ninjahelper.in +++ b/src/ninjahelper.in @@ -1,4 +1,5 @@ #!@BASH@ +# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- #################################################### ## Functions |