Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/morgant/recordctl

OpenBSD convenience utility for enabing/disabling/toggling audio/video recording in the kernel
https://github.com/morgant/recordctl

audio-recording kernel openbsd openbsd-scripts privacy-tools sysctl video-recording

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# recordctl
by Morgan Aldridge

## OVERVIEW

An overly-complex, but very convenient, utility for [OpenBSD](https://www.openbsd.org/) 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](LICENSE).