Send update command to trigger update by UpdateController
This commit is contained in:
parent
f56b74c0e5
commit
c3275ad756
17
SendUpdateCommand.sh
Normal file
17
SendUpdateCommand.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user