mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 14:02:53 +08:00
更新脚本名称 & 备注信息
This commit is contained in:
@@ -10,5 +10,5 @@
|
||||
|
||||
20 9 * * * /usr/bin/curl --retry-connrefused --retry 5 --retry-delay 5 --retry-max-time 60 -fsSLR -o /etc/smartdns.d/anti-ad.smartdns.conf https://anti-ad.net/anti-ad-for-smartdns.conf
|
||||
|
||||
30 9 * * * /usr/local/bin/smartdns-plugin.sh
|
||||
30 9 * * * /usr/local/bin/smartdns-cnlist
|
||||
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# SmartDNS China List Installer
|
||||
# Install and update China domain rules for SmartDNS.
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
WORKDIR="$(mktemp -d)"
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
#!/usr/sbin/nft -f
|
||||
|
||||
#
|
||||
# This configuration file is customized by fox,
|
||||
# Optimize nftables rules for local TS server.
|
||||
#
|
||||
|
||||
table inet router
|
||||
flush table inet router
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# This script is customized by fox,
|
||||
# Optimize NIC offload parameters for local TS server.
|
||||
#
|
||||
|
||||
ETHTOOL_PATH=$(command -v ethtool)
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ Before=tailscaled.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/bin/tailscale-nic-optim.sh
|
||||
ExecStart=/usr/local/bin/tailscale-nic-optim
|
||||
RemainAfterExit=yes
|
||||
StandardOutput=journal
|
||||
|
||||
|
||||
Reference in New Issue
Block a user