core-agent-linux/vm-systemd/mount-dirs.sh

19 lines
408 B
Bash
Raw Normal View History

#!/bin/sh
# Source Qubes library.
# shellcheck source=init/functions
. /usr/lib/qubes/init/functions
2015-03-19 23:40:25 +01:00
set -e
/usr/lib/qubes/init/setup-rwdev.sh
if [ -e /dev/xvdb ] ; then mount /rw ; fi
/usr/lib/qubes/init/setup-rw.sh
initialize_home "/rw/home" ifneeded
echo "Mounting /rw/home onto /home" >&2
mount /home
2018-07-11 10:27:58 +02:00
echo "Mounting /rw/usrlocal onto /usr/local" >&2
mount /usr/local
/usr/lib/qubes/init/bind-dirs.sh