添加windows主机名发现和按需挂载共享工具.
This commit is contained in:
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
|
||||
Reference in new issue
Block a user