mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-27 15:23:53 +08:00
15 lines
269 B
Python
15 lines
269 B
Python
#!/usr/bin/env python
|
|
# simple boardd wrapper that updates the panda first
|
|
import os
|
|
from panda import ensure_st_up_to_date
|
|
|
|
def main(gctx=None):
|
|
ensure_st_up_to_date()
|
|
|
|
os.chdir("boardd")
|
|
os.execvp("./boardd", ["./boardd"])
|
|
|
|
if __name__ == "__main__":
|
|
main()
|
|
|