Open reticivis-net opened 1 year ago
So, how should we make it auto start?
Heres what i did...
10.After that i modified the last lines to look like this
# Automatically elevate Homebrew Channel service
if [[ -x /media/developer/apps/usr/palm/services/org.webosbrew.hbchannel.service/elevate-service ]]; then
/media/developer/apps/usr/palm/services/org.webosbrew.hbchannel.service/elevate-service
fi
# Run user startup hooks
if [[ -d /var/lib/webosbrew/init.d ]]; then
run-parts /var/lib/webosbrew/init.d
fi
# Reset failsafe flag after a while
sleep 10
rm /var/luna/preferences/webosbrew_failsafe
fi
Or, if you're confortable with the CLI:
I'll try that now.
Tell me if it worked!
Without modification, mine looks like this:
# Automatically elevate Homebrew Channel service
if [[ -x /media/developer/apps/usr/palm/services/org.webosbrew.hbchannel.service/elevate-service ]]; then
/media/developer/apps/usr/palm/services/org.webosbrew.hbchannel.service/elevate-service
fi
# Run user startup hooks
mkdir -p /var/lib/webosbrew/init.d
run-parts /var/lib/webosbrew/init.d 200>&-
# Reset failsafe flag after a while
sleep 10
rm /var/luna/preferences/webosbrew_failsafe
fi
So I don't see anything to change there. But it may be working already? It seems sometimes it works and sometimes it doesn't, after a reboot.
Yea it surely is very unstable
Adding webos service activity using this command worked for me - a few seconds after TV is turned on the keybinds are enabled.
@isahnicne Do you need to modify the command in any way?
@isahnicne Do you need to modify the command in any way?
No, I did not modify it.
when the TV truly reboots (either through losing power, crashing, or Quick Start+ being disabled), the keybinds are lost until the app is opened again. the homebrew channel has a way to run scripts on boot https://github.com/webosbrew/webos-homebrew-channel/issues/2