ordered into /lib

put all subscripts into lib for readability
This commit is contained in:
2026-07-14 16:56:28 +02:00
parent 925c624351
commit 20781c9d90
11 changed files with 6 additions and 20 deletions

14
lib/camera.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
function CAMERA(){
local OUT_FILE=$1
snapshot >/dev/null 2>&1 & disown
read -p "Funktioniert Kamera? Snapshot öffnet sich - (y/n): " answer
#output
if [[ "$answer" == [Yy] ]]; then
echo -e "Kamera:\t Ja" >>"$OUT_FILE"
else
echo -e "Kamera:\t Nein" >>"$OUT_FILE"
fi
}