Kodi Community Forum

Full Version: [XBMC Live] rc.local issues
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Let me preface this buy saying that my inux knowledge is limited. I was trying to get my revo to resume from standby with my MCE remote. I followed this guide:http://wiki.xbmc.org/?title=Enable_Wake-On-Device

However,
Code:
echo USB0 > /proc/acpi/wakeup
did not work as i did not have permission. What did work for me was

Code:
sudo sh -c "echo USB0 > /proc/acpi/wakeup"

This asked me for a password and allowed me to wake my revo from MCE remote perfectly. The issue is that the code does not survive a reboot. When I put it in rc.local it does not work. What code do i need to put in rc.local?
The first command. rc.local is run by root during startup.
Your right, i didnt have permission to overwrite the rc.local file so one I did it was an easy fix.
My rc.local looks like this and it works:
Code:
echo USB0 > /proc/acpi/wakeup
exit 0

/Edit
I've read over "The first command." :o