ath5k: add an upstream patch to fix a memory leak
[openwrt.git] / package / base-files / files / lib / upgrade / common.sh
index 970016e..bf9c40d 100644 (file)
@@ -130,6 +130,10 @@ get_magic_word() {
        get_image "$@" | dd bs=2 count=1 2>/dev/null | hexdump -v -n 2 -e '1/1 "%02x"'
 }
 
+get_magic_long() {
+       get_image "$@" | dd bs=4 count=1 2>/dev/null | hexdump -v -n 4 -e '1/1 "%02x"'
+}
+
 refresh_mtd_partitions() {
        mtd refresh rootfs
 }
This page took 0.022521 seconds and 4 git commands to generate.