data/scripts/backup.sh: don't use $(hostname) in $DATE variable

Origin commit data
------------------
Branch: ni/coolstream
Commit: e124b0e99b
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-06-01 (Wed, 01 Jun 2016)

Origin message was:
------------------
- data/scripts/backup.sh: don't use $(hostname) in $DATE variable

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-06-01 21:02:07 +02:00
parent 45cc04bbf7
commit 3cb63740d5

View File

@@ -2,9 +2,10 @@
. /etc/init.d/globals
DATE=$(hostname)_$(date +%Y-%m-%d_%H-%M-%S)
HOST=$(hostname)
DATE=$(date +%Y-%m-%d_%H-%M-%S)
USRF="/var/tuxbox/config/tobackup.conf"
BAKF="$1/settings_$DATE.tar.gz"
BAKF="$1/settings_${HOST}_${DATE}.tar.gz"
TOBACKUP="\
/share/tuxbox/neutrino/flex/flex_eigene_scripte.conf \