qubes-sysinit 508 B

123456789101112131415161718192021222324252627282930313233343536
  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. . /etc/rc.d/init.d/functions
  8. start()
  9. {
  10. echo -n $"Executing Qubes system initialization scripts:"
  11. # shellcheck disable=SC2015
  12. /usr/lib/qubes/init/qubes-sysinit.sh && success || failure ; echo
  13. }
  14. stop()
  15. {
  16. return 0
  17. }
  18. case "$1" in
  19. start)
  20. start
  21. ;;
  22. stop)
  23. stop
  24. ;;
  25. *)
  26. echo $"Usage: $0 {start|stop}"
  27. exit 3
  28. ;;
  29. esac
  30. # shellcheck disable=SC2086
  31. exit $RETVAL