logon_script: Only Snc Mozilla if the Options are set in config.

This commit is contained in:
Daniel unbrot Pätzold
2026-05-08 09:43:40 +02:00
parent b9d13e821d
commit 0b13f19f84
+9 -2
View File
@@ -135,8 +135,15 @@ fi
elog_add ""
#SYNC Firefox + Thunderbird Profile
${SYSCONFIGPATH}/system_setup/mozilla_starter.sh firefox sync && ${SYSCONFIGPATH}/system_setup/mozilla_starter.sh thunderbird sync
elog_add "Successfully synced Mozilla profiles (log in another file)."
if [ ! -z "${PROFILE_FIREFOX_SRC}"]; then
${SYSCONFIGPATH}/system_setup/mozilla_starter.sh firefox sync
fi
if [ $? -eq 0 ] && [ ! -z "${PROFILE_TB_SRC}"]; then
${SYSCONFIGPATH}/system_setup/mozilla_starter.sh thunderbird sync
if [ $? -eq 0 ]; then
elog_add "Successfully synced Mozilla profiles (log in another file)."
fi
fi
elog_add "Sucessfully run logon script (Wait 3 seconds)"
sleep 3