Skip to content

Commit

Permalink
Removing mem
Browse files Browse the repository at this point in the history
Removing mem better if the user adds this by themselves less chance of duplicate values
  • Loading branch information
swetoast authored Feb 8, 2022
1 parent 669a481 commit f546f66
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions plugin.program.steamlink/addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ def create_files():
sudo dpkg -i /tmp/steamlink.deb
rm -f /tmp/steamlink.deb
fi
if ! grep -q "gpu_mem=128" /boot/config.txt; then
kodi-send --action="Notification(gpu_mem=128 was missing from /boot/config.txt, however it has been added and now it will reboot. ,3000)"
echo "gpu_mem=128" >> /boot/config.txt
sleep 15
reboot
fi
if [ -f "/home/osmc/.wakeup" ]
then /usr/bin/wakeonlan "$(cat "/home/osmc/.wakeup")"
else sudo apt install wakeonlan -y; /usr/bin/wakeonlan "$(cat "/home/osmc/.wakeup")"
Expand Down

0 comments on commit f546f66

Please sign in to comment.