Repo Init with files

This commit is contained in:
2021-02-01 22:32:41 +01:00
commit e53ad5dd51
9 changed files with 233 additions and 0 deletions

13
cmd.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get -y install dnsmasq
sudo apt-get clean
sudo chmod +x /usr/local/sbin/usb-gadget.sh
sudo systemctl enable usbgadget.service
sudo echo dtoverlay=dwc2 >> /boot/config.txt
sudo sed -i 's/$/ modules-load=dwc2/' /boot/cmdline.txt
sudo echo libcomposite >> /etc/modules
sudo systemctl enable getty@ttyGS0.service