支持传递网卡参数
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
编码猿
2025-09-09 23:45:53 +08:00
parent b13ce0e795
commit 4a2ba95d02
2 changed files with 10 additions and 3 deletions

View File

@@ -1,4 +1,6 @@
module.exports = {
port: 9900,
command: 'ip -6 addr show enp3s0'
command: (interface) => {
return `ip -6 addr show ${interface}`
}
}