3 platform_check_image() {
4 [ "$ARGC" -gt 1 ] && return 1
6 case "$(get_magic_word "$1")" in
12 echo "Invalid image type"
18 # use default for platform_do_upgrade()
22 ( ps | grep -v 'grep' | grep '/dev/watchdog' ) && {
23 echo 'Could not disable watchdog'
27 append sysupgrade_pre_upgrade disable_watchdog