mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-09-01 14:32:53 +08:00
移除过时 Btrfs 部分
This commit is contained in:
+2
-2
@@ -562,7 +562,7 @@ $ sudo systemctl restart dnsmasq.service
|
||||
|
||||
为了在网卡重新上线后自动恢复参数,本文使用 `networkd-dispatcher` 监听 `routable` 状态。
|
||||
|
||||
优化脚本直接使用事件中的 `IFACE`,仅处理由 `systemd-networkd` 配置的底层网卡,并跳过 `tailscale0` 和其他 TUN 设备。
|
||||
优化脚本直接使用事件中的 `IFACE` ,仅处理由 `systemd-networkd` 配置的底层网卡,并跳过 `tailscale0` 和其他 TUN 设备。
|
||||
|
||||
首先检查 TS 服务器的底层出口网卡。
|
||||
|
||||
@@ -577,7 +577,7 @@ $ NETDEV=$(networkctl list --no-legend --no-pager | awk '$3 == "ether" && $4 ==
|
||||
$ networkctl status "$NETDEV"
|
||||
```
|
||||
|
||||
`systemd-networkd` 应显示为 `active`,底层出口网卡应显示为 `State: routable (configured)`。
|
||||
`systemd-networkd` 应显示为 `active` ,底层出口网卡应显示为 `State: routable (configured)` 。
|
||||
|
||||
检查完成后,创建 `networkd-dispatcher` 的 `routable` 事件脚本。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user