diff options
| author | Brad Fitzpatrick <bradfitz@tailscale.com> | 2025-01-22 11:56:36 -0800 |
|---|---|---|
| committer | Brad Fitzpatrick <brad@danga.com> | 2025-01-22 17:16:15 -0800 |
| commit | 1562a6f2f2b8017a65ae147e48f23e1ec113ac2f (patch) | |
| tree | 5f8ba760afe110f137cc35185b4ab8cb2e30b5e1 /control/controlknobs | |
| parent | 3fb8a1f6bf4bdc8f438430014721486f3a6f20f6 (diff) | |
| download | tailscale-1562a6f2f2b8017a65ae147e48f23e1ec113ac2f.tar.xz tailscale-1562a6f2f2b8017a65ae147e48f23e1ec113ac2f.zip | |
feature/*: make Wake-on-LAN conditional, start supporting modular features
This pulls out the Wake-on-LAN (WoL) code out into its own package
(feature/wakeonlan) that registers itself with various new hooks
around tailscaled.
Then a new build tag (ts_omit_wakeonlan) causes the package to not
even be linked in the binary.
Ohter new packages include:
* feature: to just record which features are loaded. Future:
dependencies between features.
* feature/condregister: the package with all the build tags
that tailscaled, tsnet, and the Tailscale Xcode project
extension can empty (underscore) import to load features
as a function of the defined build tags.
Future commits will move of our "ts_omit_foo" build tags into this
style.
Updates #12614
Change-Id: I9c5378dafb1113b62b816aabef02714db3fc9c4a
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Diffstat (limited to 'control/controlknobs')
0 files changed, 0 insertions, 0 deletions
