File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -633,17 +633,18 @@ if [ -x /sbin/hwclock ]; then
633
633
/sbin/hwclock -w || /bin/true
634
634
fi
635
635
636
- if [ -x ${DEVPATH} /${PLATFORM} /${PLATFORM_PLUGIN} ]; then
637
- debug " Running ${PLATFORM} specific plugin..."
638
- ${DEVPATH} /${PLATFORM} /${PLATFORM_PLUGIN}
639
- fi
640
-
641
636
# Enable Watchdog Timer
642
637
if [ -x ${WATCHDOG_UTIL} ]; then
643
638
debug " Enabling Watchdog before ${REBOOT_TYPE} "
644
639
${WATCHDOG_UTIL} arm
645
640
fi
646
641
642
+ # Run platform specific reboot plugin
643
+ if [ -x ${DEVPATH} /${PLATFORM} /${PLATFORM_PLUGIN} ]; then
644
+ debug " Running ${PLATFORM} specific plugin..."
645
+ ${DEVPATH} /${PLATFORM} /${PLATFORM_PLUGIN}
646
+ fi
647
+
647
648
# Reboot: explicity call Linux native reboot under sbin
648
649
debug " Rebooting with ${REBOOT_METHOD} to ${NEXT_SONIC_IMAGE} ..."
649
650
exec ${REBOOT_METHOD}
You can’t perform that action at this time.
0 commit comments