by Morgan Aldridge [email protected]
An overly-complex, but very convenient, utility for OpenBSD which provides a simple interface for enabling/disabling/toggling audio and/or video recording in the kernel with sensible defaults.
It is intended to save keystrokes so that I only need to type doas recordctl
instead of doas sysctl kern.{audi,vide}o.record=1
to enable both audio & video recording. Another doas recordctl
will disable both audio & video recording again without needing to type the whole of doas sysctl kern.{audi,vide}o.record=0
.
- Explicitly enable/disable either/both
kern.audio.record
&kern.video.record
- Toggle the state of either/both
kern.audio.record
&kern.video.record
- Defaults to toggling both audio/video recording states
git clone [email protected]:morgant/recordctl.git
cd recordctl
doas make install
To toggle both audio/video recording states:
doas recordctl
To toggle just the audio recording state:
doas recordctl -ta
To explicitly disable just the video recording state:
doas recordctl -v 0
Released under the MIT license.