Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Shorthand function to modify /boot/config.txt #121

Merged
merged 1 commit into from
Mar 25, 2021

Conversation

amrsoll
Copy link
Contributor

@amrsoll amrsoll commented Mar 24, 2021

I am currently using this shorthand to modify / add values into /boot/config.txt

It does rely on raspi-config to get the job done. I chose to go with raspi-config as it gets maintained to work with the newer RPi versions, and it either uncomments the relevant config line or it appends a line "intelligently". This can replace the usual sed commands

Obviously, it only works if the image is RaspiOS / Raspbian, otherwise it'd be missing raspi-config

@amrsoll amrsoll changed the title Shorthand func to modify /boot/config.txt Shorthand function to modify /boot/config.txt Mar 24, 2021
@guysoft guysoft merged commit d93a54e into guysoft:devel Mar 25, 2021
@guysoft
Copy link
Owner

guysoft commented Mar 25, 2021

Also added to wiki page recently created here:
https://github.com/guysoft/CustomPiOS/wiki/Common.sh-functions|

You are welcome to add more documentation there if you'd like to

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants