feat(wsl): 添加 WSL 模块,mask systemd-networkd-wait-online.service
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import decman
|
||||
from decman import Module
|
||||
|
||||
|
||||
class WslModule(Module):
|
||||
def __init__(self):
|
||||
super().__init__("wsl")
|
||||
|
||||
def on_enable(self, store):
|
||||
decman.prg(["systemctl", "mask", "systemd-networkd-wait-online.service"])
|
||||
Reference in New Issue
Block a user