vbox-guest.sh 361 B

12345678910111213141516171819202122
  1. #!/bin/sh
  2. . /etc/conf.d/virtualbox-guest
  3. case $ACTION in
  4. add)
  5. if [ "x${LOAD_VBOXSF_MODULE-true}" == "xtrue" ]; then
  6. /sbin/modprobe -s vboxsf
  7. fi
  8. if [ -x /usr/sbin/VBoxService ]; then
  9. /usr/sbin/VBoxService $VBOXSERVICE_OPTS
  10. fi
  11. ;;
  12. remove)
  13. ;;
  14. *)
  15. exit 1
  16. ;;
  17. esac