Skip to content

Instantly share code, notes, and snippets.

@artsi0m
Last active September 17, 2021 15:52
Show Gist options
  • Select an option

  • Save artsi0m/d834a25dcdf24414e7152c7ce1ed2245 to your computer and use it in GitHub Desktop.

Select an option

Save artsi0m/d834a25dcdf24414e7152c7ce1ed2245 to your computer and use it in GitHub Desktop.
Script i run before meeting with someone on meet.google.com
#!/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
@artsi0m
Copy link
Author

artsi0m commented Aug 1, 2021

Also here i would report problems that i have with OpenBSD and meet.google.com.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment