aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/lib/upgrade
diff options
context:
space:
mode:
authorJames <>2013-03-17 12:16:37 +0000
committerJames <>2013-03-17 12:16:37 +0000
commit27b76ab0671089c47506615a796a261e993896a7 (patch)
tree61213d67e7fa87b20356b23798558e2c4212c42f /target/linux/brcm63xx/base-files/lib/upgrade
downloadtrunk-36060-master.tar.gz
trunk-36060-master.tar.bz2
trunk-36060-master.zip
Diffstat (limited to 'target/linux/brcm63xx/base-files/lib/upgrade')
-rw-r--r--target/linux/brcm63xx/base-files/lib/upgrade/.svn/entries62
-rw-r--r--target/linux/brcm63xx/base-files/lib/upgrade/.svn/text-base/platform.sh.svn-base16
-rw-r--r--target/linux/brcm63xx/base-files/lib/upgrade/platform.sh16
3 files changed, 94 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/base-files/lib/upgrade/.svn/entries b/target/linux/brcm63xx/base-files/lib/upgrade/.svn/entries
new file mode 100644
index 0000000..10a8190
--- /dev/null
+++ b/target/linux/brcm63xx/base-files/lib/upgrade/.svn/entries
@@ -0,0 +1,62 @@
+10
+
+dir
+36060
+svn://svn.openwrt.org/openwrt/trunk/target/linux/brcm63xx/base-files/lib/upgrade
+svn://svn.openwrt.org/openwrt
+
+
+
+2013-02-21T11:45:41.265966Z
+35724
+jogo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+3c298f89-4303-0410-b956-a3cf2f4a3e73
+
+platform.sh
+file
+
+
+
+
+2013-03-17T12:12:30.000000Z
+aeaa9a0e30a161e1e9651ef3817ec0b0
+2013-02-21T11:45:41.265966Z
+35724
+jogo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+339
+
diff --git a/target/linux/brcm63xx/base-files/lib/upgrade/.svn/text-base/platform.sh.svn-base b/target/linux/brcm63xx/base-files/lib/upgrade/.svn/text-base/platform.sh.svn-base
new file mode 100644
index 0000000..63ab774
--- /dev/null
+++ b/target/linux/brcm63xx/base-files/lib/upgrade/.svn/text-base/platform.sh.svn-base
@@ -0,0 +1,16 @@
+PART_NAME=linux
+platform_check_image() {
+ [ "$ARGC" -gt 1 ] && return 1
+ case "$(get_magic_word "$1")" in
+ 3600|3700|3800)
+ # 6348GW-11 boards use openwrt-96348GW-11-squashfs-cfe.bin files
+ return 0
+ ;;
+ *)
+ echo "Invalid image type. Please use only .bin files"
+ return 1
+ ;;
+ esac
+}
+
+# use default for platform_do_upgrade()
diff --git a/target/linux/brcm63xx/base-files/lib/upgrade/platform.sh b/target/linux/brcm63xx/base-files/lib/upgrade/platform.sh
new file mode 100644
index 0000000..63ab774
--- /dev/null
+++ b/target/linux/brcm63xx/base-files/lib/upgrade/platform.sh
@@ -0,0 +1,16 @@
+PART_NAME=linux
+platform_check_image() {
+ [ "$ARGC" -gt 1 ] && return 1
+ case "$(get_magic_word "$1")" in
+ 3600|3700|3800)
+ # 6348GW-11 boards use openwrt-96348GW-11-squashfs-cfe.bin files
+ return 0
+ ;;
+ *)
+ echo "Invalid image type. Please use only .bin files"
+ return 1
+ ;;
+ esac
+}
+
+# use default for platform_do_upgrade()