mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-06 03:14:12 +08:00
🛸 Sync 2026-10-27 02:27:08
This commit is contained in:
1 parent
b3798acf79
commit
8b63d5d4a9
78 files changed
+2288
-518
No files matched your search
@@ -172,6 +172,11 @@ apply_settings() {
|
||||
|
||||
config_load tailscale
|
||||
|
||||
if [ -x "$TAILSCALE_INIT" ] && ! tailscale_running; then
|
||||
logger -t "$NAME" "tailscale is not running, skip applying settings"
|
||||
return 0
|
||||
fi
|
||||
|
||||
local accept_routes advertise_exit_node exit_node exit_node_allow_lan_access
|
||||
local ssh shields_up runwebclient nosnat hostname
|
||||
local enable_relay relay_server_port disable_fw_config
|
||||
@@ -439,5 +444,6 @@ service_triggers() {
|
||||
|
||||
reload_service() {
|
||||
mkdir -p "$STATE_DIR"
|
||||
config_load tailscale
|
||||
handle_service_state
|
||||
}
|
||||
Reference in new issue
Block a user