mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-18 14:47:46 +01:00
enable sysupgrade on the WRT160Nl
SVN-Revision: 17202
This commit is contained in:
parent
214f39d46d
commit
a59d59be79
@ -21,13 +21,20 @@ platform_check_image() {
|
|||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
tl-wr741nd | tl-wr941nd)
|
tl-wr741nd | tl-wr941nd)
|
||||||
[ "$magic" != "0100" ] && {
|
[ "$magic" != "0100" ] && {
|
||||||
echo "Invalid image type."
|
echo "Invalid image type."
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
wrt160nl)
|
||||||
|
[ "$magic" != "4e4c" ] && {
|
||||||
|
echo "Invalid image type."
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo "Sysupgrade is not yet supported on $board."
|
echo "Sysupgrade is not yet supported on $board."
|
||||||
|
Loading…
Reference in New Issue
Block a user