This commit is contained in:
Mr Chen
2023-11-16 03:07:51 +08:00
parent 49cfeb7a39
commit 37431a76b6
5 changed files with 25 additions and 6 deletions
+2
View File
@@ -120,6 +120,8 @@ def initDreplace():
mw.writeFile(dst_conf, conf_content)
mw.writeFile(dst_conf_init, 'ok')
# route -n | grep ^0.0.0.0 | awk '{print $8}'
# systemd
systemDir = mw.systemdCfgDir()
systemService = systemDir + '/' + getPluginName() + '.service'