mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
- keybind-setup/settings-manager: use getBackupSuffix() function
Conflicts: data/scripts/backup.sh Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
|
||||
HOST=$(hostname)
|
||||
DATE=$(date +%Y%m%d_%H%M)
|
||||
USRF="/var/tuxbox/config/tobackup.conf"
|
||||
BAKF="$1/${2:-settings_${DATE}.tar.gz}"
|
||||
BAKF="$1/${2:-settings_${HOST}_${DATE}}.tar.gz"
|
||||
|
||||
if [ -e "${USRF}" ]; then
|
||||
# read user-files from $USRF
|
||||
|
Reference in New Issue
Block a user