mount-dirs.sh 408 B

123456789101112131415161718
  1. #!/bin/sh
  2. # Source Qubes library.
  3. # shellcheck source=init/functions
  4. . /usr/lib/qubes/init/functions
  5. set -e
  6. /usr/lib/qubes/init/setup-rwdev.sh
  7. if [ -e /dev/xvdb ] ; then mount /rw ; fi
  8. /usr/lib/qubes/init/setup-rw.sh
  9. initialize_home "/rw/home" ifneeded
  10. echo "Mounting /rw/home onto /home" >&2
  11. mount /home
  12. echo "Mounting /rw/usrlocal onto /usr/local" >&2
  13. mount /usr/local
  14. /usr/lib/qubes/init/bind-dirs.sh