54 |
set -- ${SHELL:-/bin/sh} |
set -- ${SHELL:-/bin/sh} |
55 |
fi |
fi |
56 |
|
|
57 |
exec /bin/settrans --chroot /bin/fakeauth "$@" -- / /hurd/fakeroot |
# We exec settrans, which execs the "fakeauth" command in the chroot context. |
58 |
|
# The `pwd` is evaluated here and now, and that result interpreted inside |
59 |
|
# the shell running under fakeauth to chdir there inside the chroot world. |
60 |
|
# That shell then execs our arguments as a command line. |
61 |
|
exec /bin/settrans --chroot \ |
62 |
|
/bin/fakeauth /bin/sh -c "cd `pwd`; exec $*" \ |
63 |
|
-- / /hurd/fakeroot |