Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/morgant/recordctl
- Owner: morgant
- License: mit
- Created: 2024-07-29T20:47:11.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-07T15:56:55.000Z (2 months ago)
- Last Synced: 2024-09-27T13:21:12.770Z (about 2 months ago)
- Topics: audio-recording, kernel, openbsd, openbsd-scripts, privacy-tools, sysctl, video-recording
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).