1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/sh /etc/rc.common # Copyright (C) 2006-2011 OpenWrt.org USE_PROCD=1 START=101 start_service() { procd_open_instance procd_set_param command python3 -m turtetris_master procd_set_param respawn procd_set_param stdout 1 procd_set_param stderr 1 procd_close_instance }