Skip to content

Commit aee7d86

Browse files
jlevequelguohan
authored andcommitted
[201811] Log message containing SONiC version to syslog at boot (#3417)
1 parent 97130ee commit aee7d86

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

files/image_config/platform/rc.local

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ program_console_speed()
121121

122122
#### Begin Main Body ####
123123

124+
logger "SONiC version ${SONIC_VERSION} starting up..."
125+
124126
# If the machine.conf is absent, it indicates that the unit booted
125127
# into SONiC from another NOS. Extract the machine.conf from ONIE.
126128
if [ ! -e /host/machine.conf ]; then

0 commit comments

Comments
 (0)