diff options
Diffstat (limited to 'target/linux/au1000/base-files')
-rw-r--r-- | target/linux/au1000/base-files/lib/upgrade/platform.sh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/target/linux/au1000/base-files/lib/upgrade/platform.sh b/target/linux/au1000/base-files/lib/upgrade/platform.sh index 1a9d151c8a..7beb4a0d06 100644 --- a/target/linux/au1000/base-files/lib/upgrade/platform.sh +++ b/target/linux/au1000/base-files/lib/upgrade/platform.sh @@ -24,13 +24,3 @@ platform_do_upgrade() { get_image "$1" | tar -Oxvf - $KERNEL_IMG | mtd write - "kernel" get_image "$1" | tar -Oxvf - $ROOTFS_IMG | mtd $conf write - "rootfs" } - -disable_watchdog() { - killall watchdog - ( ps | grep -v 'grep' | grep '/dev/watchdog' ) && { - echo 'Could not disable watchdog' - return 1 - } -} - -append sysupgrade_pre_upgrade disable_watchdog |