mirror of
https://github.com/pimoroni/grow-python
synced 2025-10-25 15:19:23 +00:00
Minute instead month in backup file name
Fix for the DATESTAMP variable, to show proper file name.
This commit is contained in:
committed by
Phil Howard
parent
b019d785c0
commit
de90e2289c
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user