Skip to content

Conversation

@cinderblock
Copy link

I've been using raspi-config with the nonint option in some scripts.

I noticed with sudo raspi-config nonint do_overlayfs * it is not possible to control the state of the boot fs independently of the root fs, assuming you have rw permissions already.

I think the problem is here

RET=$1

Where RET is set to the first argument to the function ($1).

I think it would be a little better if it were to use a second argument that defaults to the same as the first: ${2:-$1}.

Alternatively a shift after the previous ret assignment could work, but I think that would confuse things more than help.

Allow controlling boot partition's `rw` separately from root partition's
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant