Last active
September 17, 2021 15:52
-
-
Save artsi0m/d834a25dcdf24414e7152c7ce1ed2245 to your computer and use it in GitHub Desktop.
Script i run before meeting with someone on meet.google.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/ksh | |
| set +o sh | |
| case $(sysctl kern.video.record ) in | |
| kern.video.record=0 ) | |
| printf "%s\n" "Sysctl video record was not enabled" | |
| sysctl kern.video.record=1 | |
| ;; | |
| esac | |
| case $(sysctl kern.audio.record ) in | |
| kern.audio.record=0 ) | |
| printf "%s\n" "Sysctl audio record was not enabled" | |
| sysctl kern.audio.record=1 | |
| ;; | |
| esac | |
| case $(mixerctl outputs.spkr_eapd ) in | |
| outputs.spkr_eapd=off ) | |
| printf "%s\n" "Mixerctl spkr_eapd was not enabled" | |
| mixerctl outputs.spkr_eapd=on | |
| ;; | |
| esac |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also here i would report problems that i have with OpenBSD and meet.google.com.