Minute instead month in backup file name

Fix for the DATESTAMP variable, to show proper file name.
This commit is contained in:
Jaroslav Lichtblau
2020-08-05 12:18:26 +02:00
committed by Phil Howard
parent b019d785c0
commit de90e2289c

View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
CONFIG=/boot/config.txt CONFIG=/boot/config.txt
DATESTAMP=`date "+%Y-%M-%d-%H-%M-%S"` DATESTAMP=`date "+%Y-%m-%d-%H-%M-%S"`
CONFIG_BACKUP=false CONFIG_BACKUP=false
APT_HAS_UPDATED=false APT_HAS_UPDATED=false
USER_HOME=/home/$SUDO_USER USER_HOME=/home/$SUDO_USER