feat: replace mjpg-streamer with crowsnest #286

Merged
KwadFan merged 13 commits from feat/crowsnest into master 2023-02-03 22:00:00 +01:00
Showing only changes of commit 12175681c4 - Show all commits

View File

@@ -82,35 +82,6 @@ function continue_config() {
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
return 0
}
# function install_basic_deps(){
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# local -a install
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# local -a deps
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# deps=(git make)
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# for i in "${deps[@]}"; do
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# if [[ -z "$(command -v "${i}")" ]]; then
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# install+="${i}"
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# fi
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# done
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# if [[ -n "${install[*]}" ]]; then
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# ### Update system package info ( shameless stolen from klipper.sh )
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# status_msg "Updating package lists..."
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# if ! sudo apt-get update --allow-releaseinfo-change; then
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# log_error "failure while updating package lists"
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# error_msg "Updating package lists failed!"
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# exit 1
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# fi
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# status_msg "Installing required packages..."
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# if ! sudo apt-get install --yes "${install[@]}"; then
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# log_error "failure while installing required crowsnest basic packages"
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# error_msg "Installing required packages failed!"
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# exit 1
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# fi
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# else
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# ok_msg "All basic dependencies met, nothing to do!"
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# fi
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# }
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
# Install func
function install_crowsnest(){
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
pedrolamas commented 2023-01-14 12:40:39 +01:00 (Migrated from github.com)
Review

Any specific reason as to why leave this here commented? Might as well just remove it, no?

Any specific reason as to why leave this here commented? Might as well just remove it, no?
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
KwadFan commented 2023-01-19 15:59:41 +01:00 (Migrated from github.com)
Review

Well, obviously I was lost in my own code 🤣

No, will remove that asap

Well, obviously I was lost in my own code :rofl: No, will remove that asap
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
pedrolamas commented 2023-01-19 16:01:04 +01:00 (Migrated from github.com)
Review

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁

Nevertheless, I tried your PR and it "worked fine on my machine"! 😁