last line
This commit is contained in:
parent
c66c413383
commit
2e66e9039a
|
@ -2587,7 +2587,7 @@ function create_backup_script {
|
|||
echo 'fi' >> /usr/bin/$BACKUP_SCRIPT_NAME
|
||||
echo '' >> /usr/bin/$BACKUP_SCRIPT_NAME
|
||||
|
||||
echo -n 'used_percent=$(df -k $USB_MOUNT | ' >> /usr/bin/$BACKUP_SCRIPT_NAME
|
||||
echo -n 'used_percent=$(df -k $USB_MOUNT | tail -n 1 | ' >> /usr/bin/$BACKUP_SCRIPT_NAME
|
||||
echo -n "awk -F ' ' '{print " >> /usr/bin/$BACKUP_SCRIPT_NAME
|
||||
echo -n '$5' >> /usr/bin/$BACKUP_SCRIPT_NAME
|
||||
echo -n "}' | " >> /usr/bin/$BACKUP_SCRIPT_NAME
|
||||
|
|
Loading…
Reference in New Issue