qubes-sysinit 536 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #!/bin/bash
  2. #
  3. # chkconfig: 345 80 80
  4. # description: Executes Qubes system initialization scripts at VM boot
  5. #
  6. # Source function library.
  7. # shellcheck disable=SC1091
  8. . /etc/rc.d/init.d/functions
  9. start()
  10. {
  11. echo -n $"Executing Qubes system initialization scripts:"
  12. # shellcheck disable=SC2015
  13. /usr/lib/qubes/init/qubes-sysinit.sh && success || failure ; echo
  14. }
  15. stop()
  16. {
  17. return 0
  18. }
  19. case "$1" in
  20. start)
  21. start
  22. ;;
  23. stop)
  24. stop
  25. ;;
  26. *)
  27. echo $"Usage: $0 {start|stop}"
  28. exit 3
  29. ;;
  30. esac
  31. # shellcheck disable=SC2086
  32. exit $RETVAL