Revert "Add mc-send-to-console support (#228)"

This reverts commit f5c95df5a0.
This commit is contained in:
Geoff Bourne committed 2022-03-10 17:10:04 -06:00
1 parent f5c95df5a0
commit 7fd0f9e399
4 files changed
+3 -33

No files matched your search

-15
View File
@@ -1,15 +0,0 @@
#!/bin/bash
: "${CONSOLE_IN_NAMED_PIPE:=/var/run/bds-stdin}"
if [ $# = 0 ]; then
echo "ERROR: pass console commands as arguments"
exit 1
fi
if [ ! -p "${CONSOLE_IN_NAMED_PIPE}" ]; then
echo "ERROR: named pipe ${CONSOLE_IN_NAMED_PIPE} is missing"
exit 1
fi
/usr/local/bin/entrypoint-demoter --match /data bash -c "echo $* > '${CONSOLE_IN_NAMED_PIPE}'"