From dfc91fb1a94b18029ab556a0f3e7727825494dd3 Mon Sep 17 00:00:00 2001 From: Pavan Kumar Reddy Balireddy Date: Fri, 28 Aug 2026 16:11:30 +0530 Subject: [PATCH 1/2] XB10-2825: [RATS][Aker] Device Pause page is not loading when then client is paused --- source/Styles/xb3/config/webgui.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/source/Styles/xb3/config/webgui.sh b/source/Styles/xb3/config/webgui.sh index dd48f1b..cdfe9ab 100755 --- a/source/Styles/xb3/config/webgui.sh +++ b/source/Styles/xb3/config/webgui.sh @@ -152,10 +152,19 @@ fi if [ ! -d "/tmp/pcontrol" ] then - mkdir /tmp/pcontrol + mkdir /tmp/pcontrol +fi + +if [ ! -d "/usr/www/cmn" ] +then + cp -rf /usr/www/cmn/ /tmp/pcontrol +fi + +if [ ! -d "/usr/hgw" ] +then + cp -rf /usr/hgw/cmn/ /tmp/pcontrol fi -cp -rf /usr/www/cmn/ /tmp/pcontrol #Dynamically create pause screen file #removed chmod as part of CISCOXB3-6294 since etc is read-only FileSystem sh /etc/pauseBlockGenerateHtml.sh From 191f62ae19ad69fd7d2f4c670f046fe76a91f9d3 Mon Sep 17 00:00:00 2001 From: Pavan Kumar Reddy Balireddy Date: Fri, 28 Aug 2026 16:35:15 +0530 Subject: [PATCH 2/2] webgui.sh: fix inverted directory check before copying to pcontrol Copy to /tmp/pcontrol only when the source directory is present for /usr/www/cmn and /usr/hgw --- source/Styles/xb3/config/webgui.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Styles/xb3/config/webgui.sh b/source/Styles/xb3/config/webgui.sh index cdfe9ab..47fb817 100755 --- a/source/Styles/xb3/config/webgui.sh +++ b/source/Styles/xb3/config/webgui.sh @@ -155,12 +155,12 @@ then mkdir /tmp/pcontrol fi -if [ ! -d "/usr/www/cmn" ] +if [ -d "/usr/www/cmn" ] then cp -rf /usr/www/cmn/ /tmp/pcontrol fi -if [ ! -d "/usr/hgw" ] +if [ -d "/usr/hgw" ] then cp -rf /usr/hgw/cmn/ /tmp/pcontrol fi