X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=html%2Fcgi-bin%2Fmedia.cgi;h=6a89ca86774710c29dc19f3398aa800f4b344568;hp=4fe472a029f5c0002c57ec7eb5313b90dfe082b7;hb=fac92c6d25038f61430a4e872e720ba00b539385;hpb=a6b8b894848742ff0afe25ef62c2117e67b44311 diff --git a/html/cgi-bin/media.cgi b/html/cgi-bin/media.cgi index 4fe472a029..6a89ca8677 100644 --- a/html/cgi-bin/media.cgi +++ b/html/cgi-bin/media.cgi @@ -47,7 +47,7 @@ $querry[1] = 'hour' unless defined $querry[1]; my @devices = `kudzu -qps -c HD | grep device: | cut -d" " -f2 | sort | uniq`; -if ( $querry[0] =~ "sd?" || $querry[0] =~ "hd?" ){ +if ( $querry[0] =~ "sd?" || $querry[0] =~ "hd?" || $querry[0] =~ "xvd??"){ print "Content-type: image/png\n\n"; binmode(STDOUT);