diff options
author | Giorgio Gilestro | 2020-03-03 17:28:30 +0000 |
---|---|---|
committer | Giorgio Gilestro | 2020-03-03 17:28:30 +0000 |
commit | 9e0d88b505662e7a2e8af7238d335fe2dcb8e46c (patch) | |
tree | 81a6ffedf72ee0cdfc640625d9d23a087cb03836 | |
parent | 54d3cfacb3ab255204c59e7b5de7d1c01e64f099 (diff) | |
download | aur-9e0d88b505662e7a2e8af7238d335fe2dcb8e46c.tar.gz |
Adding default hdmi output to config.txt
Generating locale
-rw-r--r-- | ethoscope-device.install | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/ethoscope-device.install b/ethoscope-device.install index 4d998f1e848e..8f5d026fd036 100644 --- a/ethoscope-device.install +++ b/ethoscope-device.install @@ -45,11 +45,11 @@ post_install() { netctl enable ether netctl enable wlan - #netctl-auto is for wireless connections only, ifplugd for wired - #netctl-auto enable wlan #not sure we need this line + # netctl-auto is for wireless connections only, systemctl start netctl-auto@wlan - systemctl enable netctl-auto@wlan0 - + systemctl enable netctl-auto@wlan + + # ifplugd for wired connections systemctl enable netctl-ifplugd@eth0 systemctl start netctl-ifplugd@eth0 @@ -75,7 +75,7 @@ post_install() { mysql -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'ethoscope'@'%' WITH GRANT OPTION"; chown -R mysql:mysql /var/lib/mysql - echo "install picamera settings" + echo "install picamera settings into the boot/config.txt" echo 'start_file=start_x.elf' > /boot/config.txt echo 'fixup_file=fixup_x.dat' >> /boot/config.txt echo 'disable_camera_led=1' >> /boot/config.txt @@ -83,9 +83,15 @@ post_install() { echo 'cma_lwm=' >> /boot/config.txt echo 'cma_hwm=' >> /boot/config.txt echo 'cma_offline_start=' >> /boot/config.txt + echo 'hdmi_force_hotplug=1` >> /boot/config.txt echo 'Loading bcm2835 module' echo "bcm2835-v4l2" > /etc/modules-load.d/picamera.conf + echo "generating locale" + echo "en_GB.UTF-8 UTF-8\n" >> /etc/locale.gen + locale-gen + + echo "Please reboot this PI now." } |