/usr/bin/ui-auto-shell is in ui-auto 1.1.17-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/sh -e
# Use configured shell, or /bin/sh as default.
if [ -z "${SHELL}" ]; then
SH_CMD="/bin/sh"
else
SH_CMD="${SHELL}"
fi
CMD="$(dirname ${0})/ui-auto-env -d $@"
if ${CMD} && eval $(${CMD}) 2>/dev/null; then
PS1="ui-auto-shell $@? " exec ${SH_CMD}
else
exit 1
fi
|