1
0

Remove unused radio-listener-dis/connect scripts.

This commit is contained in:
Alexander Andreev 2024-04-20 18:24:45 +04:00
parent b0f24b25b9
commit 92ae8e13f0
Signed by: Arav
GPG Key ID: 25969B23DCB5CA34
3 changed files with 0 additions and 18 deletions

View File

@ -32,8 +32,6 @@ install:
install -Dm 0755 tools/radioctl ${DESTDIR}${PREFIX}/bin/${TARGET}ctl
install -Dm 0755 tools/radio-fetch ${DESTDIR}${PREFIX}/bin/${TARGET}-fetch
# install -Dm 0755 tools/radio-listener-connect ${DESTDIR}${PREFIX}/bin/${TARGET}-listener-connect
# install -Dm 0755 tools/radio-listener-disconnect ${DESTDIR}${PREFIX}/bin/${TARGET}-listener-disconnect
# install -Dm 0644 configs/radio.liq ${DESTDIR}/etc/dwelling/radio.liq
# install -Dm 0644 configs/radio.vars.liq ${DESTDIR}/etc/dwelling/radio.vars.liq
@ -50,8 +48,6 @@ uninstall:
rm ${DESTDIR}${PREFIX}/bin/${TARGET}ctl
rm ${DESTDIR}${PREFIX}/bin/${TARGET}-fetch
# rm ${DESTDIR}${PREFIX}/bin/${TARGET}-listener-connect
# rm ${DESTDIR}${PREFIX}/bin/${TARGET}-listener-disconnect
# rm ${DESTDIR}/etc/dwelling/radio.liq
rm ${DESTDIR}/etc/dwelling/ezstream.xml

View File

@ -1,7 +0,0 @@
#!/usr/bin/env sh
response=$(curl -XPOST --unix-socket /var/run/dwelling-radio/sock http://localhost/api/listener -o /dev/null -s -w "%{response_code}")
if [ "$response" -ne "201" ]; then
exit 1;
fi

View File

@ -1,7 +0,0 @@
#!/usr/bin/env sh
response=$(curl -XDELETE --unix-socket /var/run/dwelling-radio/sock http://localhost/api/listener -o /dev/null -s -w "%{response_code}")
if [ "$response" -ne "200" ]; then
exit 1;
fi