diff options
Diffstat (limited to 'rootfs/srv/http')
-rw-r--r-- | rootfs/srv/http/index.html | 10 | ||||
-rwxr-xr-x | rootfs/srv/http/off | 2 | ||||
-rwxr-xr-x | rootfs/srv/http/on | 2 |
3 files changed, 14 insertions, 0 deletions
diff --git a/rootfs/srv/http/index.html b/rootfs/srv/http/index.html new file mode 100644 index 0000000..f60b829 --- /dev/null +++ b/rootfs/srv/http/index.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset='utf-8'> + <title>Hello world!</title> +</head> +<body> + <p>Turn leds <a href="/on">on</a> or <a href="/off">off</a></p> +</body> +</html> diff --git a/rootfs/srv/http/off b/rootfs/srv/http/off new file mode 100755 index 0000000..e70be2d --- /dev/null +++ b/rootfs/srv/http/off @@ -0,0 +1,2 @@ +#!/bin/sh +leds 0 diff --git a/rootfs/srv/http/on b/rootfs/srv/http/on new file mode 100755 index 0000000..0da06b0 --- /dev/null +++ b/rootfs/srv/http/on @@ -0,0 +1,2 @@ +#!/bin/sh +leds 1 |