mirror of
https://github.com/Kron4ek/Conty
synced 2024-12-26 09:58:38 +01:00
Notify when autostarting and autoargs are working
This commit is contained in:
parent
1a98848008
commit
3ec5442180
1 changed files with 6 additions and 1 deletions
|
@ -26,7 +26,7 @@ working_dir=/tmp/"$(basename "${script}")"_"$(id -un)"_$RANDOM
|
|||
# a problem with mounting the squashfs image due to an incorrectly calculated offset.
|
||||
|
||||
# The size of this script
|
||||
scriptsize=5358
|
||||
scriptsize=5483
|
||||
|
||||
# The size of the utils.tar archive
|
||||
# utils.tar contains bwrap and squashfuse binaries
|
||||
|
@ -167,8 +167,13 @@ if [ $? = 0 ]; then
|
|||
autostart="${script_name}"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -n "${AUTOARGS}" ]; then
|
||||
echo "Automatically append arguments: ${AUTOARGS}"
|
||||
fi
|
||||
|
||||
if [ -n "${autostart}" ]; then
|
||||
echo "Autostarting ${autostart}"
|
||||
run_bwrap "${autostart}" "$@" ${AUTOARGS}
|
||||
else
|
||||
run_bwrap "$@" ${AUTOARGS}
|
||||
|
|
Loading…
Reference in a new issue