All shebangs set to /bin/bash.
This commit is contained in:
parent
10a676fe6c
commit
609b95e105
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# Copy essential binaries into the chroot.
|
# Copy essential binaries into the chroot.
|
||||||
|
|
||||||
chrootdir=$1
|
chrootdir=$1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# Update all OpenSSH chroot.
|
# Update all OpenSSH chroot.
|
||||||
|
|
||||||
BACKUP_PATH='/backup/jails'
|
BACKUP_PATH='/backup/jails'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# Handles creating incrementals backup.
|
# Handles creating incrementals backup.
|
||||||
|
|
||||||
. /etc/evobackup/conf.d/incrementals.cf
|
. /etc/evobackup/conf.d/incrementals.cf
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
# Handle removing of incrementals.
|
# Handle removing of incrementals.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# EvoBackup cronjob.
|
# EvoBackup cronjob.
|
||||||
|
|
||||||
. /etc/evobackup/conf.d/cron.cf
|
. /etc/evobackup/conf.d/cron.cf
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# Install EvoBackup configuration and init files.
|
# Install EvoBackup configuration and init files.
|
||||||
|
|
||||||
# Debian or Ubuntu?
|
# Debian or Ubuntu?
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# Prerequisites actions to do.
|
# Prerequisites actions to do.
|
||||||
|
|
||||||
test ! -d /home/backup && mkdir /home/backup
|
test ! -d /home/backup && mkdir /home/backup
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# Many ways of backuping MySQL/MariaDB databases.
|
# Many ways of backuping MySQL/MariaDB databases.
|
||||||
|
|
||||||
# Dump with all databases in one file.
|
# Dump with all databases in one file.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# PostgreSQL Dump
|
# PostgreSQL Dump
|
||||||
|
|
||||||
# su - postgres -c "pg_dumpall > ~/pg.dump.bak"
|
# su - postgres -c "pg_dumpall > ~/pg.dump.bak"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# Dump Redis
|
# Dump Redis
|
||||||
|
|
||||||
# cp /var/lib/redis/dump.rdb /home/backup/
|
# cp /var/lib/redis/dump.rdb /home/backup/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# Dump MongoDB
|
# Dump MongoDB
|
||||||
|
|
||||||
# mongodump -u mongobackup -pPASS -o /home/backup/mongodump/ >/dev/null 2>&1
|
# mongodump -u mongobackup -pPASS -o /home/backup/mongodump/ >/dev/null 2>&1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# Dump LDAP
|
# Dump LDAP
|
||||||
|
|
||||||
# slapcat -l /home/backup/ldap.bak
|
# slapcat -l /home/backup/ldap.bak
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# Get system informations.
|
# Get system informations.
|
||||||
# Dependency: dd, sfdisk, mtr, traceroute, ps, netstat, dpkg
|
# Dependency: dd, sfdisk, mtr, traceroute, ps, netstat, dpkg
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
# Provides: evobackup
|
# Provides: evobackup
|
||||||
|
|
Loading…
Reference in a new issue