Go to the source code of this file.
Variables | |
$pipe = "/var/state/camogm.state" | |
$cmd_pipe = "/var/state/camogm_cmd" | |
$mode = 0777 | |
$cmd = $_GET['cmd'] | |
did the caller supply any command to be send to camogm? | |
$status = file_get_contents($pipe) | |
it seems that everything worked - caller (this script) waits for the file to appear |
did the caller supply any command to be send to camogm?
Definition at line 52 of file camogmstate2.php.
$cmd_pipe = "/var/state/camogm_cmd" |
Definition at line 40 of file camogmstate2.php.
$mode = 0777 |
Definition at line 41 of file camogmstate2.php.
$pipe = "/var/state/camogm.state" |
just for testing, asuming camogm is running and listening to /var/state/camogm_cmd create a named pipe - "/var/state/camogm.state"
Definition at line 39 of file camogmstate2.php.
$status = file_get_contents($pipe) |
it seems that everything worked - caller (this script) waits for the file to appear
Definition at line 58 of file camogmstate2.php.