22 lines
454 B
Bash
Executable File
22 lines
454 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#an exemple of how to strat this epics drivers
|
|
|
|
## The device name that will appeard on epics
|
|
export DEVICE_NAME="ePowerSwitch"
|
|
|
|
# The number of outlet that the device had
|
|
# This drivers only support 4 or 8 outlet
|
|
export EPOWERSWITCH_SOCKET_NUMBER=8
|
|
|
|
# The host name and port of the ePowerSwitch device
|
|
export HOST_NAME="localhost"
|
|
export HOST_PORT="55555"
|
|
|
|
whereis procServ
|
|
|
|
/usr/local/bin/procServ -L - -f -i ^D^C 20001 "${PWD}/st.cmd"
|
|
|
|
|
|
|