qemu-ga.init 247 B

123456789101112131415
  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2016 OpenWrt.org
  3. START=99
  4. USE_PROCD=1
  5. BIN=/usr/bin/qemu-ga
  6. start_service() {
  7. procd_open_instance
  8. procd_set_param command $BIN
  9. procd_set_param respawn
  10. procd_set_param stderr 1
  11. procd_close_instance
  12. }