Revert "fix: make sure we look for the correct gotty executable name"
This reverts commit ee9aeb6d62.
This commit is contained in:
@@ -341,8 +341,6 @@ EOF
|
|||||||
install_phpsysinfo() {
|
install_phpsysinfo() {
|
||||||
sudo -u ${USER} git clone https://github.com/phpsysinfo/phpsysinfo.git \
|
sudo -u ${USER} git clone https://github.com/phpsysinfo/phpsysinfo.git \
|
||||||
${HOME}/phpsysinfo
|
${HOME}/phpsysinfo
|
||||||
gottyservice="gotty-$(uname -m)"
|
|
||||||
sed -i "s/,gotty,/,${gottyservice},/g" "$HOME"/BirdNET-Pi/templates/phpsysinfo.ini
|
|
||||||
}
|
}
|
||||||
|
|
||||||
config_icecast() {
|
config_icecast() {
|
||||||
|
|||||||
@@ -172,11 +172,6 @@ if ! [ -L /etc/avahi/services/http.service ];then
|
|||||||
systemctl restart avahi-daemon.service
|
systemctl restart avahi-daemon.service
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if grep -q ",gotty," "$HOME/BirdNET-Pi/templates/phpsysinfo.ini" &>/dev/null; then
|
|
||||||
gottyservice="gotty-$(uname -m)"
|
|
||||||
sed -i "s/,gotty,/,${gottyservice},/g" "$HOME/BirdNET-Pi/templates/phpsysinfo.ini"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -L /usr/local/bin/analyze.py ];then
|
if [ -L /usr/local/bin/analyze.py ];then
|
||||||
rm -f /usr/local/bin/analyze.py
|
rm -f /usr/local/bin/analyze.py
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user