update to latest version
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ ! -e /etc/cron.d/back-cfg ]; then
|
||||
echo "0 11 * * * root /root/scripts/server/back-cfg.sh" > /etc/cron.d/back-cfg
|
||||
echo "0 11 * * * root /root/tareo-scripts/server/back-cfg.sh" > /etc/cron.d/back-cfg
|
||||
fi
|
||||
|
||||
BAKDIR=/root/backup/cfg
|
||||
@@ -12,7 +12,7 @@ BAKS="/etc/apache2/sites-available \
|
||||
/etc/apt-cacher-ng/acng.conf \
|
||||
/etc/dnsmasq.conf \
|
||||
/etc/ssh/sshd_config \
|
||||
/etc/NetworkManager/system-connections/eth0 \
|
||||
/etc/NetworkManager/system-connections/* \
|
||||
/etc/hosts \
|
||||
/etc/apache2/apache2.conf \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user