Skip to content

Instantly share code, notes, and snippets.

@abersheeran
Created June 27, 2020 20:09
Show Gist options
  • Save abersheeran/a25bed21a974f3f70ab5a9834a0b651a to your computer and use it in GitHub Desktop.
Save abersheeran/a25bed21a974f3f70ab5a9834a0b651a to your computer and use it in GitHub Desktop.
Auto run wsl script on Windows10 startup
/etc/init.d/supervisor $1
Set ws = CreateObject("Wscript.Shell")
ws.run "wsl -u root /etc/init.wsl start", vbhide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment