From 27b76ab0671089c47506615a796a261e993896a7 Mon Sep 17 00:00:00 2001 From: James <> Date: Sun, 17 Mar 2013 12:16:37 +0000 Subject: fish --- .../adm8668/base-files/lib/upgrade/.svn/entries | 62 ++++++++++++++++++++++ .../upgrade/.svn/text-base/platform.sh.svn-base | 15 ++++++ .../adm8668/base-files/lib/upgrade/platform.sh | 15 ++++++ 3 files changed, 92 insertions(+) create mode 100644 target/linux/adm8668/base-files/lib/upgrade/.svn/entries create mode 100644 target/linux/adm8668/base-files/lib/upgrade/.svn/text-base/platform.sh.svn-base create mode 100644 target/linux/adm8668/base-files/lib/upgrade/platform.sh (limited to 'target/linux/adm8668/base-files/lib/upgrade') diff --git a/target/linux/adm8668/base-files/lib/upgrade/.svn/entries b/target/linux/adm8668/base-files/lib/upgrade/.svn/entries new file mode 100644 index 0000000..d883fa8 --- /dev/null +++ b/target/linux/adm8668/base-files/lib/upgrade/.svn/entries @@ -0,0 +1,62 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/adm8668/base-files/lib/upgrade +svn://svn.openwrt.org/openwrt + + + +2010-11-06T18:54:20.513313Z +23900 +florian + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +platform.sh +file + + + + +2013-03-17T12:12:21.000000Z +4de7d7e1872c833b95cb9a20f3527058 +2010-11-06T18:54:20.513313Z +23900 +florian + + + + + + + + + + + + + + + + + + + + + +267 + diff --git a/target/linux/adm8668/base-files/lib/upgrade/.svn/text-base/platform.sh.svn-base b/target/linux/adm8668/base-files/lib/upgrade/.svn/text-base/platform.sh.svn-base new file mode 100644 index 0000000..583fa2e --- /dev/null +++ b/target/linux/adm8668/base-files/lib/upgrade/.svn/text-base/platform.sh.svn-base @@ -0,0 +1,15 @@ +PART_NAME=linux +platform_check_image() { + [ "$ARGC" -gt 1 ] && return 1 + + case "$(get_magic_word "$1")" in + # u-boot + 2705) return 0;; + *) + echo "Invalid image type. Please use only u-boot files" + return 1 + ;; + esac +} + +# use default for platform_do_upgrade() diff --git a/target/linux/adm8668/base-files/lib/upgrade/platform.sh b/target/linux/adm8668/base-files/lib/upgrade/platform.sh new file mode 100644 index 0000000..583fa2e --- /dev/null +++ b/target/linux/adm8668/base-files/lib/upgrade/platform.sh @@ -0,0 +1,15 @@ +PART_NAME=linux +platform_check_image() { + [ "$ARGC" -gt 1 ] && return 1 + + case "$(get_magic_word "$1")" in + # u-boot + 2705) return 0;; + *) + echo "Invalid image type. Please use only u-boot files" + return 1 + ;; + esac +} + +# use default for platform_do_upgrade() -- cgit v1.2.3