Skip to content

Commit

Permalink
[startup] Fixes issue with /var/platform directory not created (sonic…
Browse files Browse the repository at this point in the history
  • Loading branch information
hpersh authored and tiantianlv committed Apr 24, 2020
1 parent 3f0f7cc commit 3c68732
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions files/image_config/platform/rc.local
Original file line number Diff line number Diff line change
Expand Up @@ -328,10 +328,10 @@ if [ -f $FIRST_BOOT_FILE ]; then
mv /host/grub.cfg /host/grub/grub.cfg
fi

# Create dir where following scripts put their output files
mkdir -p /var/platform

firsttime_exit
fi

# Create dir where following scripts put their output files
mkdir -p /var/platform

exit 0

0 comments on commit 3c68732

Please sign in to comment.