[rc.local]: Put variables into quotes in conditionals (#361)
Signed-off-by: marian-pritsak <marianp@mellanox.com>
This commit is contained in:
parent
11379f9a9d
commit
adc296bf6f
@ -17,9 +17,9 @@ echo "install platform dependent packages at the first boot time"
|
||||
|
||||
if [ -f /host/platform/firsttime ]; then
|
||||
|
||||
if [ -n $aboot_platform ]; then
|
||||
if [ -n "$aboot_platform" ]; then
|
||||
platform=$aboot_platform
|
||||
elif [ -n $onie_platform ]; then
|
||||
elif [ -n "$onie_platform" ]; then
|
||||
platform=$onie_platform
|
||||
else
|
||||
echo "Unknown sonic platform"
|
||||
|
Loading…
Reference in New Issue
Block a user