sysdeploy/update.sh

17 lines
242 B
Bash
Executable File

#!/bin/bash
. install.inc
drive="$1"
if [ ! -b "$drive" ]; then
echo "Usage update.sh /dev/wherever"
exit 1
fi
get_streams
get_latest_maas_id
download_version "$release_version" "$drive"
update_syslinux_menu "$drive"
cleanup_temp