mirror of
				https://github.com/tailscale/tailscale.git
				synced 2025-10-31 08:11:32 +01:00 
			
		
		
		
	I'd moved the osshare calls to feature/taildrop hooks, but forgot to remove them from ipnlocal, or lost them during a rebase. But then I noticed cmd/tailscaled also had some, so turn those into a hook. Updates #12614 Change-Id: I024fb1d27fbcc49c013158882ee5982c2737037d Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			410 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			410 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Copyright (c) Tailscale Inc & AUTHORS
 | |
| // SPDX-License-Identifier: BSD-3-Clause
 | |
| 
 | |
| // Package tailscaledhooks provides hooks for optional features
 | |
| // to add to during init that tailscaled calls at runtime.
 | |
| package tailscaledhooks
 | |
| 
 | |
| import "tailscale.com/feature"
 | |
| 
 | |
| // UninstallSystemDaemonWindows is called when the Windows
 | |
| // system daemon is uninstalled.
 | |
| var UninstallSystemDaemonWindows feature.Hooks[func()]
 |