diff --git a/fs/arch/install-to-emmc-middle b/fs/arch/install-to-emmc-middle index 2852fade..c020a585 100644 --- a/fs/arch/install-to-emmc-middle +++ b/fs/arch/install-to-emmc-middle @@ -6,14 +6,14 @@ set -e export SYSTEMD=1 export EUDEV=0 -# think we need to start the network to do this. Maybe not... -systemctl start NetworkManager.service -systemctl enable NetworkManager.service -sleep 4 +# We do not need network stuff here, added to begin script +#systemctl start NetworkManager.service +#systemctl enable NetworkManager.service +#sleep 4 -nmcli device wifi rescan -sleep 4 # wait for it to show up -nmtui connect +#nmcli device wifi rescan +#sleep 4 # wait for it to show up +#nmtui connect wget -N http://os.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz bsdtar -xpf ArchLinuxARM-aarch64-latest.tar.gz -C /mnt @@ -72,4 +72,4 @@ chroot /mnt /usr/bin/pacman -Syu --noconfirm f2fs-tools git base-devel networkma ## end of install-to-emmc-middle # # -# \ No newline at end of file +# diff --git a/fs/install-to-emmc-begin b/fs/install-to-emmc-begin index 3849f1ab..d565ea95 100755 --- a/fs/install-to-emmc-begin +++ b/fs/install-to-emmc-begin @@ -8,11 +8,13 @@ set -e echo "Installing Cadmium" # we need internet, TODO: make this run on voidlinux and arch -#nmcli device wifi rescan -#sleep 4 # wait for it to show up -#nmtui connect +systemctl start NetworkManager +sleep 4 #just in case nm is slow to start +nmcli device wifi rescan +sleep 4 # wait for it to show up +nmtui connect -read -p "Please use Ethernet, idk how the heck to get internet to work LOL" +#read -p "Please use Ethernet, idk how the heck to get internet to work LOL" # a fancy hack MMCDEV=$(ls /dev/mmcblk* | grep -F boot0 | sed 's/boot0//')