[201811] Log message containing SONiC version to syslog at boot (#3417)
This commit is contained in:
parent
97130ee188
commit
aee7d86fc9
@ -121,6 +121,8 @@ program_console_speed()
|
|||||||
|
|
||||||
#### Begin Main Body ####
|
#### Begin Main Body ####
|
||||||
|
|
||||||
|
logger "SONiC version ${SONIC_VERSION} starting up..."
|
||||||
|
|
||||||
# If the machine.conf is absent, it indicates that the unit booted
|
# If the machine.conf is absent, it indicates that the unit booted
|
||||||
# into SONiC from another NOS. Extract the machine.conf from ONIE.
|
# into SONiC from another NOS. Extract the machine.conf from ONIE.
|
||||||
if [ ! -e /host/machine.conf ]; then
|
if [ ! -e /host/machine.conf ]; then
|
||||||
|
Reference in New Issue
Block a user