Skip to content

Commit 8142b86

Browse files
Better use $platform instead of $device_platform
1 parent 25fa459 commit 8142b86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

files/image_config/platform/rc.local

+2-2
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ if [ -f $FIRST_BOOT_FILE ]; then
352352
fi
353353

354354
# If there is a platform dependant script, execute it
355-
if [ -x /usr/share/sonic/device/${onie_platform}/platform_setup ]; then
356-
/usr/share/sonic/device/${onie_platform}/platform_setup
355+
if [ -x /usr/share/sonic/device/${platform}/platform_setup ]; then
356+
/usr/share/sonic/device/${platform}/platform_setup
357357
fi
358358
firsttime_exit
359359
fi

0 commit comments

Comments
 (0)