2021-02-25 14:50:05 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-03-02 14:39:19 +01:00
|
|
|
. install.inc
|
|
|
|
|
|
|
|
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"
|
2021-02-25 14:50:05 +01:00
|
|
|
|
|
|
|
|