Permalink
Cannot retrieve contributors at this time
Switch branches/tags
refs/tags
2.38
2.37
2.36.1
2.36
2.35
2.34
2.33
2.32
2.31
2.30
2.29.1
2.29
2.28
2.27.1
2.27
2.26
2.25
2.24
2.23
2.22.1
2.22
2.21
2.20
2.19
2.18.1
2.18
2.17
2.16
2.15.1
2.15
2.14
2.13.1
2.13
2.12.1
2.12
2.11
2.10.1
2.10
2.9
2.8.8
2.8.7
2.8.6
2.8.5
2.8.4
2.8.3
2.8.2
2.8.1
2.8
2.7
2.6.1
2.6
2.5
2.4
2.3.2
2.3
2.2.2
2.2.1
2.2
2.1.1
2.1
2.0.1
2.0
1.1.0
1.0.2
1.0.1
1.0
0.6
0.5
0.4
Nothing to show
Fetching contributors…
| #!/bin/sh | |
| set -e | |
| cd "$SNAP_DATA" | |
| [ -f configuration ] && interval=$(sed -n 's/.*interval: `\([0-9.]\+\).*/\1/p' configuration) | |
| [ -z "$interval" ] && interval=10 | |
| echo "Snapping every $interval seconds" | |
| golang-static-http & | |
| while :; do | |
| fswebcam shot.jpeg | |
| sleep $interval | |
| done |