添加windows主机名发现和按需挂载共享工具.

This commit is contained in:
tsf committed 2026-11-06 11:41:59 +08:00
commit d7b8a21ca5
12 files changed
+2119

No files matched your search

@@ -0,0 +1,15 @@
[Unit]
Description=Discover Windows/NetBIOS hostnames and update /etc/hosts
Documentation=file:///usr/local/share/doc/windiscover/README.md
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/python3 -I /usr/local/sbin/windiscover --update-hosts --quiet
Nice=10
IOSchedulingClass=idle
PrivateTmp=yes
ProtectHome=yes
ProtectSystem=true
NoNewPrivileges=yes