feat: replace mjpg-streamer with crowsnest #286
@@ -70,16 +70,15 @@ function continue_config() {
|
||||
|
|
||||
while true; do
|
||||
read -erp "${cyan}###### Continuing with configuration? (y/N):${white} " reply
|
||||
case "${reply}" in
|
||||
[Yy]* )
|
||||
|
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?
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
break
|
||||
|
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?
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
;;
|
||||
|
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?
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
[Nn]* )
|
||||
|
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?
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
Y|y|Yes|yes)
|
||||
|
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?
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
select_msg "Yes"
|
||||
|
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?
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
break;;
|
||||
|
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?
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
N|n|No|no|"")
|
||||
|
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?
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
select_msg "No"
|
||||
|
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?
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
warn_msg "Installation aborted by user ... Exiting!"
|
||||
exit 1
|
||||
|
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?
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
;;
|
||||
|
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?
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
* )
|
||||
|
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?
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
echo -e "\e[31mERROR: Please type Y or N !\e[0m"
|
||||
|
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?
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
;;
|
||||
|
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?
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
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;;
|
||||
|
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?
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
*)
|
||||
|
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?
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
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 "Invalid Input!\n";;
|
||||
|
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?
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
esac
|
||||
done
|
||||
return 0
|
||||
@@ -93,16 +92,13 @@ function install_crowsnest(){
|
||||
|
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?
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?
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
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
|
||||
# Step 2: Clone crowsnest repo
|
||||
status_msg "Cloning 'crowsnest' repository ..."
|
||||
if [[ ! -d "${HOME}/crowsnest" ]] &&
|
||||
|
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?
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
[[ -z "$(ls -A "${HOME}/crowsnest")" ]]; then
|
||||
|
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?
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
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 [[ ! -d "${HOME}/crowsnest" && -z "$(ls -A "${HOME}/crowsnest")" ]]; then
|
||||
|
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?
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
clone_crowsnest
|
||||
else
|
||||
ok_msg "crowsnest repository already exists ..."
|
||||
fi
|
||||
|
||||
# Step 3: Install dependencies
|
||||
# status_msg "Install basic dependencies ..."
|
||||
|
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?
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
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_basic_deps
|
||||
|
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?
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
dependency_check git make
|
||||
|
||||
# Step 4: Check for Multi Instance
|
||||
@@ -159,7 +155,7 @@ get_crowsnest_status(){
|
||||
|
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?
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?
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
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
echo "Installed"
|
||||
elif [[ "${count}" -gt 0 ]]; then
|
||||
echo "Incomplete!"
|
||||
else
|
||||
|
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?
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
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
|
||||
|
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?
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
echo "Not installed!"
|
||||
fi
|
||||
}
|
||||
|
||||
|
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?
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?
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
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
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁 Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
|
||||
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?
Well, obviously I was lost in my own code 🤣
No, will remove that asap
Well, obviously I was lost in my own code 🤣
No, will remove that asap
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁
Nevertheless, I tried your PR and it "worked fine on my machine"! 😁