#!/usr/bin/env bash # scripts/daemon/lesavka-uvc.sh - launch UVC control helper as a standalone service set -euo pipefail DEV=${LESAVKA_UVC_DEV:-/dev/v4l/by-path/platform-1000480000.usb-video-index0} if [[ ! -e "$DEV" ]]; then DEV=/dev/video0 fi exec /usr/local/bin/lesavka-uvc --device "$DEV"