Send update command to trigger update by UpdateController

This commit is contained in:
Gerhard Hoffmann 2023-01-24 16:37:06 +01:00
parent f56b74c0e5
commit c3275ad756

17
SendUpdateCommand.sh Normal file
View File

@ -0,0 +1,17 @@
#!/bin/bash
pipe=/tmp/testpipe
if [[ ! -p $pipe ]]; then
echo "Reader not running"
exit 1
fi
if [[ "$1" ]]; then
echo "$1" >$pipe
else
echo "Hello from $$" >$pipe
fi