blob: 3bdc9b3f3b2183573263d70dcea5af2f4a5a2ba8 (
plain)
- #!/bin/sh
- . ./common-settings || exit 1
- if [ "$1" = "temp" ]; then
- shift
- ./mount.sh temp || exit 1
- export debian_chroot="flashybrid"
- #chroot "$target" /bin/bash -l $@
- chroot "$targettemp" $@
- exitcode=$?
- ./umount.sh temp
- else
- ./mount.sh || exit 1
- export debian_chroot="flashybrid"
- #chroot "$target" /bin/bash -l $@
- chroot "$mountpoint" $@
- exitcode=$?
- ./umount.sh
- fi
- exit $exitcode
|