Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Changing names to avoid copy by raspberrypi-net-mods.service #206

Merged
merged 2 commits into from
Oct 8, 2021

Conversation

jpokornyiii
Copy link

Avoid the mv from /boot on the initial load (when ro hasn't been mounted yet) via /etc/systemd/multi-user-target.wants/raspberrypi-net-mods.service. This looks for /boot/wpa_supplicant.conf and mv's it to /etc/wpa_supplicant/wpa_supplicant.conf. This overwrites all changes made for symlink.

@jpokornyiii jpokornyiii marked this pull request as draft October 1, 2021 22:07
@jpokornyiii
Copy link
Author

jpokornyiii commented Oct 1, 2021

I chose to go with renaming the file in /boot to avoid the mv but we could do others like:

  1. trying to find a strategic place to put "sudo systemctrl disable raspberrypi-net-mods" or
  2. removing raspberrypi-net-mods from stage4/02-net-tweaks/00-packages.

I'd like to hear what people think first.

@jpokornyiii jpokornyiii marked this pull request as ready for review October 4, 2021 22:26
@PeterJohnson PeterJohnson merged commit 36788aa into wpilibsuite:main Oct 8, 2021
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.

2 participants