Jump to content

Recommended Posts

Posted

I'm trying to run the following on edge devices, the remote interface to which does not support a traditional terminal (i.e. no interactivity):

 

armbian-config --cmd ROO001

 

At the conclusion of this command running, the user is prompted through the UI/TUI to reboot the device. How can I avoid this reboot prompt, and just proceed with the reboot immediately?

 

e.g. the Raspberry Pi OS raspi-config tool allows for the nonint parameter to be passed:

 

raspi-config nonint enable_overlayfs

 

The intent is to automate enabling of the read-only fs. Hardware is various Raspberry Pi and ROCK Pi devices running Armbian. I've already confirmed the command works fine with user input. I just need to understand how to interact with the tool without user input.

 

Thank you

Posted

Looking at the code, I don't see this being possible as built. Alternative option is scheduling a reboot sufficiently far enough out and hoping the operation has completed by that time.. thoughts?

Posted

look into understanding what armbian-config does behind the scenes and replicate that.  I think that is a better option anyhow.  armbian-config is known to royally screw up your system every now and then.

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...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines