Created blink.php for device
This commit is contained in:
parent
cd2d5ba588
commit
c865a2844e
13
devicefiles/blink.php
Normal file
13
devicefiles/blink.php
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<?php
|
||||||
|
// Device blink.php code, goes in /var/www/html
|
||||||
|
// You may need to disable selinux in order for this to work (system calls)
|
||||||
|
// try setenforce 0
|
||||||
|
|
||||||
|
include("/etc/led-control.inc.php");
|
||||||
|
|
||||||
|
identify_unit();
|
||||||
|
?>
|
||||||
|
<html><head>
|
||||||
|
</head><body>
|
||||||
|
<a href="#" onclick="location.reload(); return false;">Blink Again</a>
|
||||||
|
</body></html>
|
Loading…
Reference in New Issue
Block a user