This commit is contained in:
Igor Pečovnik 2018-10-09 13:46:07 +02:00 committed by GitHub
parent bf5a2fe6e0
commit c8c6c9d96f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ add_usb_storage_quirks() {
[ -f /boot/armbianEnv.txt ] || return
# cleanup. add LF. This prevents adding parameters to the same line
echo "" >> /boot/armbianEnv.txt; sed -ie '/^$/d;$G' /boot/armbianEnv.txt; sed -ie '/^$/d;$G' /boot/armbianEnv.txt
echo "" >> /boot/armbianEnv.txt; sed -i '/^$/d;$G' /boot/armbianEnv.txt; sed -i '/^$/d;$G' /boot/armbianEnv.txt
# cleanup. remove empty lines in the middle
sed -i '/^$/d' /boot/armbianEnv.txt