blob: 128658badff210a83d8e299e00f9cdbe1035e8be [file] [log] [blame]
#!/bin/bash
# Copyright 2018 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#### CATEGORY=Software delivery
#### DEPRECATED
### [deprecated] alias for fx ota
## Deprecated: just runs 'fx ota' after a few seconds of intentional pause
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/lib/vars.sh || exit $?
fx-warn "This tool has been deprecated in favor of 'fx ota'."
echo -n "Pausing for 1 second. Run 'fx ota' directly to skip this..." > /dev/stderr
sleep 1
echo "ok, running 'fx ota' now." > /dev/stderr
fx-command-run ota "$@"