Skip to content

Add persistence: save config and auto-restore MAC at boot - #10

Open
Sean10 wants to merge 2 commits into
shilch:masterfrom
Sean10:master
Open

Add persistence: save config and auto-restore MAC at boot#10
Sean10 wants to merge 2 commits into
shilch:masterfrom
Sean10:master

Conversation

@Sean10

@Sean10 Sean10 commented May 1, 2026

Copy link
Copy Markdown
  • Add --save/-S to save current MAC to config file
  • Add --config/-c to restore MAC from config file
  • Add --install-daemon/-i to install launchd plist for auto-start
  • Add --uninstall-daemon/-u to remove launchd plist
  • Add CONFIG_PATH to Makefile for brew/source install flexibility
  • Include retry logic for interface availability at boot time
  • Update README with "Persist MAC After Reboot" documentation

- Add --save/-S to save current MAC to config file
- Add --config/-c to restore MAC from config file
- Add --install-daemon/-i to install launchd plist for auto-start
- Add --uninstall-daemon/-u to remove launchd plist
- Add CONFIG_PATH to Makefile for brew/source install flexibility
- Include retry logic for interface availability at boot time
- Update README with "Persist MAC After Reboot" documentation
@Canees

Canees commented May 28, 2026

Copy link
Copy Markdown
image An error has occurred. macos 15.3.2

mkdir(2) the parent directory before fopen in save_config, so
/opt/homebrew/etc/ or /usr/local/etc/ not existing no longer silently
fails. Error messages now include the affected path. make install also
creates $(prefix)/etc proactively.
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