1 1
spinarr

Rewritten armbianEnv.txt

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
1 1