We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I'm generally new to the Pi and it's features. What I try to do is to insert a subprocess before the shutdown, to turn the tv off.
What I tried: Create a monitor_off.sh-file with command: echo 'standby 0' | cec-client -s -d 1 Edit listen-for-shutdown-file to:
subprocess.call("sh monitor_off.sh", shell=True) time.sleep(5) subprocess.call(['shutdown', '-h', 'now'], shell=False)
Yet even if I delete the shutdown entirely, the Pi just reboots somehow.
Do you have a better Idea or a fix for my problem?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I'm generally new to the Pi and it's features.
What I try to do is to insert a subprocess before the shutdown, to turn the tv off.
What I tried:
Create a monitor_off.sh-file with command: echo 'standby 0' | cec-client -s -d 1
Edit listen-for-shutdown-file to:
Yet even if I delete the shutdown entirely, the Pi just reboots somehow.
Do you have a better Idea or a fix for my problem?
The text was updated successfully, but these errors were encountered: