#!/usr/bin/perl use strict; use vars qw ($file $DELAY); ########## CONFIG $file = "lcd4linux"; # .png is appended $DELAY = 0; # delay in seconds # if delay is zero, file is sent when modified. ################# use CGI qw/:push -nph/; $| = 1; my ($mtime, $nmtime, $size, $nsize); (undef, undef, undef, undef, undef, undef, undef, $size, undef, $mtime) = stat "$file.png"; print multipart_init(-boundary=>'----------------here we go!'); while (1) { print multipart_start(-type=>'image/png'); undef $/; open(IN, "$file.png") or die("Can't read '$file.png'"); $_ = ; print $_; close(IN); print multipart_end; if ($DELAY) { sleep $DELAY; } else { W: while (1) { # sleep(1); (undef, undef, undef, undef, undef, undef, undef, $nsize, undef, $nmtime) = stat "$file.png"; if($mtime != $nmtime || $size != $nsize) { $mtime = $nmtime; $size = $nsize; last W; } } } } /lcd4linux.git/'>summaryrefslogtreecommitdiffstats
path: root/drv_EFN.c (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2012-05-19Add Build-Depends on libftdi-dev, libgphoto2-2-dev, libmpdclient-dev andJonathan McCrohan1-0/+2
2012-05-19Bump dh to v9Jonathan McCrohan4-82/+17
2012-05-19Import upstream version 0.11.0~svn1189Jonathan McCrohan3-6/+6
2012-05-19Fixes plugin_file syslog flood if file does not existJonathan McCrohan1-0/+1
2012-05-17d/rules: Add get-orig-source targetJonathan McCrohan3-0/+23
2012-05-17Import upstream version 0.11.0~svn1188Jonathan McCrohan12-428/+435
2012-05-17Undo wrap-and-sort for Uploaders: field.Jonathan McCrohan1-2/+1
2012-03-18update debian/changelogReinhard Tartler1-1/+6
2012-03-18Update Vcs-Bzr control field to new team addressReinhard Tartler1-1/+1
2012-03-09* Rewrite init script to use lsb-base functionsJonathan McCrohan2-7/+13
2012-03-09Add watchfile lintian override; Using upstream svn instead Jonathan McCrohan2-1/+4
2012-03-08Update to S-V 3.9.3Jonathan McCrohan2-2/+3
2012-03-08* Rewrite init script to use lsb-base functions.Jonathan McCrohan3-15/+16
2012-03-08copyright-refers-to-symlink-licenseJonathan McCrohan2-2/+3
2012-03-08* Lintian fixesJonathan McCrohan2-4/+7
2012-03-08Import upstream version 0.11.0~svn1180Jonathan McCrohan19-2871/+3952
2011-12-27Import upstream version 0.11.0~svn1165Jonathan McCrohan6-166/+495
2011-12-25Import upstream version 0.11.0~svn1164Jonathan McCrohan11-162/+315
2011-12-25Update libmysqlclient-dev virtual package in build-depends.Jonathan McCrohan1-1/+1
2011-08-31Import upstream version 0.11.0~svn1159Jonathan McCrohan4-5/+5
2011-08-30update debian/changelogReinhard Tartler1-1/+4
2011-08-28* New upstream snapshotJonathan McCrohan2-4/+11
2011-08-26Import upstream version 0.11.0~svn1158Reinhard Tartler34-1743/+4490
2011-08-20normalize with wrap-and-sort(1)Reinhard Tartler2-17/+20
2011-08-20Make lcd4linux linux specificReinhard Tartler1-2/+1
2011-04-29add sqlite3-dev to build dependssiretart@tauware.de2-2/+4
2011-04-29mention new co-maintainersiretart@tauware.de1-0/+1
2011-04-29add libdbus-1-dev to build dependssiretart@tauware.de2-1/+3
2011-04-29normalize fields with wrap-and-sort(1)siretart@tauware.de2-18/+20
2011-04-29fix order of calling dh_autoreconf_cleansiretart@tauware.de1-1/+1
2011-04-29Add Uploader details to Debian PackageJonathan McCrohan1-0/+1
2011-04-27Bug fix: "script lcd4linux/init.d/lcd4linux missing dependency onReinhard Tartler2-1/+5
2011-04-27No longer build the mpd module. Closes: #578226Reinhard Tartler1-0/+1
2011-04-27No longer compile against Python. Python 2.6 now links against libssl,Reinhard Tartler2-2/+3