mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
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:
@@ -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 \
|
||||
|
Reference in New Issue
Block a user