raspberry

This commit is contained in:
Lucas Faber authored and Lucas Vivohost committed 2026-09-14 09:20:47 +02:00
1 parent 84dfdf5210
commit be436085b3
55 files changed
+2195

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
echo "Toggling between lirc0/lirc1..."
grep lirc0 /etc/lirc/lirc_options.conf
if [ $? -ne 0 ]
then
echo "Switching from lirc1 to lirc0"
sudo sed -i 's/lirc1/lirc0/g' /etc/lirc/lirc_options.conf
else
echo "Switching from lirc0 to lirc1"
sudo sed -i 's/lirc0/lirc1/g' /etc/lirc/lirc_options.conf
fi
sudo service lircd restart