Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion source/bridge_utils/scripts/migration_to_psm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,19 @@ if [ "xcompleted" != "x`syscfg get psm_migration`" ];then
psmcli set dmsb.l2net.2.Port.2.Name "eth1"
psmcli set dmsb.l2net.2.Port.2.LinkName "eth1"
psmcli get dmsb.l2net.2.Members.SW ""

if [ "$MODEL_NUM" == "CGM601TCOM" ] || [ "$MODEL_NUM" == "SG417DBCT" ];then
if [ ! -f "/nvram/.psm_disable_ethwan_selection" ];then
psmcli set dmsb.wanmanager.if.2.Selection.Enable "FALSE"
touch /nvram/.psm_disable_ethwan_selection
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/nvram/.psm_disable_ethwan_selection - this file is touched here butis it managed when factory reset done?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file is deleted on factory reset in PandM :
rdkcentral/provisioning-and-management@121b0d0

fi
fi

migrationCompleteFlag=1
fi
if [ "$MODEL_NUM" = "TG3482G" ];then
for i in 1 2 3 4 5 6 7 8 9
do
do
psmcli set dmsb.l2net."$i".Members.Link ""
greIf=`psmcli get dmsb.l2net."$i".Members.Gre`
if [ x"$greIf" != "x" ];then
Expand Down