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