diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /target/linux/lantiq/base-files/lib/upgrade/.svn | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'target/linux/lantiq/base-files/lib/upgrade/.svn')
3 files changed, 92 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/lib/upgrade/.svn/entries b/target/linux/lantiq/base-files/lib/upgrade/.svn/entries new file mode 100644 index 0000000..eaa6df6 --- /dev/null +++ b/target/linux/lantiq/base-files/lib/upgrade/.svn/entries @@ -0,0 +1,62 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/lantiq/base-files/lib/upgrade +svn://svn.openwrt.org/openwrt + + + +2010-12-12T22:57:16.047709Z +24526 +blogic + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +platform.sh +file + + + + +2013-03-17T12:12:42.000000Z +1119d2547aae3c701a685b007304f0fb +2010-12-12T22:57:16.047709Z +24526 +blogic +has-props + + + + + + + + + + + + + + + + + + + + +434 + diff --git a/target/linux/lantiq/base-files/lib/upgrade/.svn/prop-base/platform.sh.svn-base b/target/linux/lantiq/base-files/lib/upgrade/.svn/prop-base/platform.sh.svn-base new file mode 100644 index 0000000..869ac71 --- /dev/null +++ b/target/linux/lantiq/base-files/lib/upgrade/.svn/prop-base/platform.sh.svn-base @@ -0,0 +1,5 @@ +K 14 +svn:executable +V 1 +* +END diff --git a/target/linux/lantiq/base-files/lib/upgrade/.svn/text-base/platform.sh.svn-base b/target/linux/lantiq/base-files/lib/upgrade/.svn/text-base/platform.sh.svn-base new file mode 100644 index 0000000..247ba1a --- /dev/null +++ b/target/linux/lantiq/base-files/lib/upgrade/.svn/text-base/platform.sh.svn-base @@ -0,0 +1,25 @@ +PART_NAME=linux + +platform_check_image() { + [ "$ARGC" -gt 1 ] && return 1 + + case "$(get_magic_word "$1")" in + # .trx files + 2705) return 0;; + *) + echo "Invalid image type" + return 1 + ;; + esac +} + +# use default for platform_do_upgrade() + +disable_watchdog() { + killall watchdog + ( ps | grep -v 'grep' | grep '/dev/watchdog' ) && { + echo 'Could not disable watchdog' + return 1 + } +} +append sysupgrade_pre_upgrade disable_watchdog |