From 2349c584a22c10d68dca29b3459021eb5661265b Mon Sep 17 00:00:00 2001 From: TNSSF Date: Sat, 22 Jan 2022 13:07:52 -0700 Subject: [PATCH] Update to add variables for expansion module background (#6253) The expansion module can use a different background image The wallpaper_upload.url setting in yealink can be used multiple times to download multiple images. setup for 2 more variable: $yealink_t46u_wallpaper_expansion and $yealink_t46u_wallpaper_expansion_filename This is only a template update. I did not push any additional varaibles up into the default settings. --- resources/templates/provision/yealink/t46u/y000000000108.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/templates/provision/yealink/t46u/y000000000108.cfg b/resources/templates/provision/yealink/t46u/y000000000108.cfg index f91a9ac3a1..72a826eb52 100644 --- a/resources/templates/provision/yealink/t46u/y000000000108.cfg +++ b/resources/templates/provision/yealink/t46u/y000000000108.cfg @@ -1630,7 +1630,12 @@ phone_setting.backgrounds = Config:yealink_t46u_wallpaper.png phone_setting.backgrounds_with_dsskey_unfold= ##expansion_module.backgrounds(Only support T5XW/T54S/T52S/T43U/T46U/T48U) +wallpaper_upload.url = {$yealink_t46u_wallpaper_expansion} +{if isset($yealink_t46u_wallpaper_expansion_filename)} +expansion_module.backgrounds=Config:{$yealink_t46u_wallpaper_expansion_filename} +{else} expansion_module.backgrounds= +{/if} #######################################################################################