Skip to content

OpenBSD convenience utility for enabing/disabling/toggling audio/video recording in the kernel

License

Notifications You must be signed in to change notification settings

morgant/recordctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recordctl

by Morgan Aldridge [email protected]

OVERVIEW

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.

FEATURES

  • 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

INSTALLATION

git clone [email protected]:morgant/recordctl.git
cd recordctl
doas make install

USAGE

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

LICENSE

Released under the MIT license.