sysdeploy/update.sh

16 lines
229 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"