aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/base-files/files/lib/upgrade/fwtool.sh4
-rwxr-xr-xpackage/base-files/files/sbin/sysupgrade3
2 files changed, 0 insertions, 7 deletions
diff --git a/package/base-files/files/lib/upgrade/fwtool.sh b/package/base-files/files/lib/upgrade/fwtool.sh
index 49f02b7bd9..aa2ac79d13 100644
--- a/package/base-files/files/lib/upgrade/fwtool.sh
+++ b/package/base-files/files/lib/upgrade/fwtool.sh
@@ -1,7 +1,3 @@
-fwtool_pre_upgrade() {
- fwtool -q -i /dev/null "$1"
-}
-
fwtool_check_image() {
[ $# -gt 1 ] && return 1
diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade
index 482be068d9..a378b02950 100755
--- a/package/base-files/files/sbin/sysupgrade
+++ b/package/base-files/files/sbin/sysupgrade
@@ -137,7 +137,6 @@ add_overlayfiles() {
# hooks
sysupgrade_image_check="fwtool_check_image platform_check_image"
-sysupgrade_pre_upgrade="fwtool_pre_upgrade"
if [ $SAVE_OVERLAY = 1 ]; then
[ ! -d /overlay/upper/etc ] && {
@@ -264,8 +263,6 @@ else
rm -f /tmp/sysupgrade.always.overwrite.bootdisk.partmap
fi
-run_hooks "" $sysupgrade_pre_upgrade
-
install_bin /sbin/upgraded
v "Commencing upgrade. Closing all shell sessions."