added export lines

This commit is contained in:
2024-04-12 11:45:54 -05:00
parent f82cfa2e62
commit c7a8020671

View File

@@ -6,6 +6,9 @@ if [ "$EUID" -ne 0 ]
exit exit
fi fi
export TZ='America/Chicago'
export DEBIAN_FRONTEND=noninteractive
# disable restart prompt for services during an update # disable restart prompt for services during an update
if [[ ! -f /etc/needrestart/conf.d/no-prompt.conf ]] ; then if [[ ! -f /etc/needrestart/conf.d/no-prompt.conf ]] ; then
echo "\$nrconf{restart} = 'a';" >> /etc/needrestart/conf.d/no-prompt.conf echo "\$nrconf{restart} = 'a';" >> /etc/needrestart/conf.d/no-prompt.conf