14 lines
274 B
Bash
Executable File
14 lines
274 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Copyright (C) 2014-2015 Curt Brune <curt@cumulusnetworks.com>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
. /lib/onie/common-blkdev
|
|
|
|
echo "Rebooting into ONIE updater mode..."
|
|
|
|
set_onie_next_boot
|
|
/mnt/onie-boot/onie/tools/bin/onie-boot-mode -q -o update
|
|
reboot
|