2021-02-25 14:50:05 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-03-02 14:39:19 +01:00
|
|
|
. install.inc
|
2021-03-02 15:47:16 +01:00
|
|
|
. drive.inc
|
2021-03-02 14:39:19 +01:00
|
|
|
|
|
|
|
drive="$1"
|
|
|
|
|
|
|
|
if [ ! -b "$drive" ]; then
|
|
|
|
echo "Usage install.sh /dev/wherever"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
setup_drive "$drive"
|
|
|
|
get_streams
|
|
|
|
get_latest_maas_id
|
|
|
|
download_version "$release_version" "$drive"
|
|
|
|
update_syslinux_menu "$drive"
|