Skip to content

Commit

Permalink
chore: optimize messages
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Gehrsitz <[email protected]>
  • Loading branch information
mryel00 committed Nov 22, 2023
1 parent 2cb4156 commit 75b5002
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/libs/core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,10 @@ dietpi_cs_settings() {
### Detect legacy webcamd.
detect_existing_webcamd() {
local disable
msg "Checking for mjpg-streamer ...\n"
if [[ -x "/usr/local/bin/webcamd" ]] && [[ -d "${HOME}/mjpg-streamer" ]]; then
msg "Found an existing mjpg-streamer"
msg "This should be stopped and disabled..."
msg "Found an existing mjpg-streamer installation!"
msg "This should be stopped and disabled!"
while true; do
read -erp "Do you want to stop and disable existing 'webcamd'? (y/N) " -i "N" disable
case "${disable}" in
Expand All @@ -312,4 +313,5 @@ detect_existing_webcamd() {
esac
done
fi
status_msg "Checking for mjpg-streamer ..." "0"
}

0 comments on commit 75b5002

Please sign in to comment.