oxnas: drop some unused sysupgrade code
[openwrt/openwrt.git] / target / linux / oxnas / base-files / lib / upgrade / platform.sh
index 8591c7de6790b786137d5dc3a1ee11ad4183eef7..a43391cbbd4a73791e4c1557f86f614a25944a1c 100644 (file)
@@ -15,15 +15,6 @@ platform_check_image() {
        return $?
 }
 
-platform_do_upgrade() {
-       if [ $$ -ne 1 ]; then
-               echo "not PID 1, upgrade aborted."
-               return 1;
-       fi
-       platform_do_upgrade_phase2 "$1" "$CONF_TAR" "$SAVE_CONFIG"
-}
-
-
 disable_watchdog() {
        killall watchdog
        ( ps | grep -v 'grep' | grep '/dev/watchdog' ) && {