diff --git a/Makefile b/Makefile index 101cb2d..2c39d27 100755 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/tools/radio-listener-connect b/tools/radio-listener-connect deleted file mode 100644 index eeef11f..0000000 --- a/tools/radio-listener-connect +++ /dev/null @@ -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 \ No newline at end of file diff --git a/tools/radio-listener-disconnect b/tools/radio-listener-disconnect deleted file mode 100644 index 2b83c5d..0000000 --- a/tools/radio-listener-disconnect +++ /dev/null @@ -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 \ No newline at end of file