diff --git a/files/image_config/platform/rc.local b/files/image_config/platform/rc.local index 3596eb18419..3ba79f93031 100755 --- a/files/image_config/platform/rc.local +++ b/files/image_config/platform/rc.local @@ -351,6 +351,10 @@ if [ -f $FIRST_BOOT_FILE ]; then mv /host/grub.cfg /host/grub/grub.cfg fi + # If there is a platform dependant script, execute it + if [ -x /usr/share/sonic/device/${platform}/platform_setup ]; then + /usr/share/sonic/device/${platform}/platform_setup + fi firsttime_exit fi