21 lines
439 B
Bash
Executable File
21 lines
439 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#an example of how to start these epic drivers
|
|
|
|
## The device name that will appeard on epics
|
|
export DEVICE_NAME="ePowerSwitch"
|
|
|
|
# The number of outlets that the device has
|
|
# These drivers only support 4 or 8 outlets
|
|
|
|
export EPOWERSWITCH_SOCKET_NUMBER=8
|
|
|
|
# The hostname and port of the ePowerSwitch device
|
|
export HOST_NAME="localhost"
|
|
export HOST_PORT="55555"
|
|
|
|
/usr/local/bin/procServ -L - -f -i ^D^C 20001 "${PWD}/st.cmd"
|
|
|
|
|
|
|