mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
c4ac02ffca
The watchdog kill command was meant for busybox watchdog. Busybox watchdog
was replaced by the procd watchdog mid 2013 with commit df7ce9301a
("busybox: disable the watchdog utility by default"), which makes the kill
command obsolete since quite some time.
Signed-off-by: Mathias Kresin <dev@kresin.me>
20 lines
272 B
Bash
20 lines
272 B
Bash
PART_NAME=firmware
|
|
|
|
CI_BLKSZ=65536
|
|
|
|
platform_check_image() {
|
|
local magic="$(get_magic_long "$1")"
|
|
|
|
[ "$#" -gt 1 ] && return 1
|
|
|
|
[ "$magic" != "27051956" ] && {
|
|
echo "Invalid image type."
|
|
return 1
|
|
}
|
|
return 0
|
|
}
|
|
|
|
platform_do_upgrade() {
|
|
default_do_upgrade "$ARGV"
|
|
}
|