mirror of
https://gitlab.com/prpl-foundation/intel/dsl_cpe_control.git
synced 2025-12-10 06:44:37 +01:00
18 lines
233 B
Bash
Executable file
18 lines
233 B
Bash
Executable file
#!/bin/sh
|
|
|
|
pipe_no=0
|
|
|
|
# use specified pipe no
|
|
case "$1" in
|
|
0|1|2)
|
|
pipe_no=$1; shift; ;;
|
|
esac
|
|
|
|
|
|
#echo "Call dsl_pipe with $*"
|
|
echo $* > /tmp/pipe/dsl_cpe${pipe_no}_cmd
|
|
result=`cat /tmp/pipe/dsl_cpe${pipe_no}_ack`
|
|
|
|
echo "$result"
|
|
|
|
|