mirror of
https://github.com/Kron4ek/Conty
synced 2025-01-13 20:01:41 +01:00
Update conty-start.sh
Bind $HOME to $HOME. This is useful in case if HOME is not /home/username.
This commit is contained in:
parent
cca87e7349
commit
8fc39a132a
1 changed files with 3 additions and 2 deletions
|
@ -40,7 +40,7 @@ mount_point="${working_dir}"/mnt
|
||||||
# a problem with mounting the squashfs image due to an incorrectly calculated offset.
|
# a problem with mounting the squashfs image due to an incorrectly calculated offset.
|
||||||
|
|
||||||
# The size of this script
|
# The size of this script
|
||||||
scriptsize=18217
|
scriptsize=18249
|
||||||
|
|
||||||
# The size of the utils.tar archive
|
# The size of the utils.tar archive
|
||||||
# utils.tar contains bwrap and squashfuse binaries
|
# utils.tar contains bwrap and squashfuse binaries
|
||||||
|
@ -313,7 +313,8 @@ run_bwrap () {
|
||||||
# --hostname Conty"
|
# --hostname Conty"
|
||||||
else
|
else
|
||||||
dirs="--bind-try /home /home --bind-try /mnt /mnt --bind-try /opt /opt \
|
dirs="--bind-try /home /home --bind-try /mnt /mnt --bind-try /opt /opt \
|
||||||
--bind-try /media /media --bind-try /run /run --bind-try /var /var"
|
--bind-try /media /media --bind-try /run /run --bind-try /var /var \
|
||||||
|
--bind-try ${HOME} ${HOME}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${HOME_DIR}" ]; then
|
if [ -n "${HOME_DIR}" ]; then
|
||||||
|
|
Loading…
Reference in a new issue