Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Rewritten armbianEnv.txt

Featured Replies

Hello,

 

this may be related to:

 

https://forum.armbian.com/topic/8819-where-to-report-a-bug-etcinitdarmhwinfo-corrupts-bootarmbianenvtxt-when-followed-by-powerfailure/
https://github.com/armbian/config/issues/33

 

cat /boot/armbianEnv.txt
/var/log.hdd/alternatives.log {
        monthly
        rotate 12
        compress
        delaycompress
        missingok
        notifempty
        create 644 root root
}usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u

 

Would there be any advice so that we can prevent this from happening?

Many thanks for any pointer.

 

Regards

Rostislav

I had tried setting armbianEnv.txt mode 0444, but that failed.  The corrupted armbianEnv.txt file still had mode 0444.

 

I am now trying modified /usr/lib/armbian/armbian-hardware-optimization and armbian-firstrun scripts, with lines that modify armbianEnv.txt commented-out.  So far so good.

 

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.