[syncd.sh] 'sxdkernel start' => 'sxdkernel restart' (#11718)
Change `sxdkernel start` to `sxdkernel restart`. If `syncd` service crashes in `ExecStartPre` systemd will not call `ExecStop` and thus will not call `sxdkernel stop`. Use of `sxdkernel restart` is more robust in terms of guarantees to restore the system after unexpected crashes. Signed-off-by: Stepan Blyschak <stepanb@nvidia.com> Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
This commit is contained in:
parent
027bc7f044
commit
a66941a6ce
@ -24,7 +24,7 @@ function startplatform() {
|
|||||||
debug "Starting Firmware update procedure"
|
debug "Starting Firmware update procedure"
|
||||||
/usr/bin/mst start --with_i2cdev
|
/usr/bin/mst start --with_i2cdev
|
||||||
/usr/bin/mlnx-fw-upgrade.sh
|
/usr/bin/mlnx-fw-upgrade.sh
|
||||||
/etc/init.d/sxdkernel start
|
/etc/init.d/sxdkernel restart
|
||||||
debug "Firmware update procedure ended"
|
debug "Firmware update procedure ended"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user