Remove unused radio-listener-dis/connect scripts.
This commit is contained in:
parent
b0f24b25b9
commit
92ae8e13f0
4
Makefile
4
Makefile
@ -32,8 +32,6 @@ install:
|
|||||||
install -Dm 0755 tools/radioctl ${DESTDIR}${PREFIX}/bin/${TARGET}ctl
|
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-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.liq ${DESTDIR}/etc/dwelling/radio.liq
|
||||||
# install -Dm 0644 configs/radio.vars.liq ${DESTDIR}/etc/dwelling/radio.vars.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}ctl
|
||||||
|
|
||||||
rm ${DESTDIR}${PREFIX}/bin/${TARGET}-fetch
|
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/radio.liq
|
||||||
rm ${DESTDIR}/etc/dwelling/ezstream.xml
|
rm ${DESTDIR}/etc/dwelling/ezstream.xml
|
||||||
|
@ -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
|
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user