qubes-sysinit 448 B

12345678910111213141516171819202122232425262728293031323334
  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. /usr/lib/qubes/init/qubes-sysinit.sh && success || failure ; echo
  12. }
  13. stop()
  14. {
  15. return 0
  16. }
  17. case "$1" in
  18. start)
  19. start
  20. ;;
  21. stop)
  22. stop
  23. ;;
  24. *)
  25. echo $"Usage: $0 {start|stop}"
  26. exit 3
  27. ;;
  28. esac
  29. exit $RETVAL