|
|
|
@ -426,8 +426,7 @@ copyVideoFiles ()
|
|
|
|
|
# print checksum for one file
|
|
|
|
|
checkSum()
|
|
|
|
|
{
|
|
|
|
|
platform=$(uname)
|
|
|
|
|
if [ "$platform" == 'NetBSD' -o "$platform" == 'FreeBSD' -o "$platform" == 'Darwin' ]; then
|
|
|
|
|
if [ "$PLATFORM" == 'NetBSD' -o "$PLATFORM" == 'FreeBSD' -o "$PLATFORM" == 'Darwin' ]; then
|
|
|
|
|
md5 -q $1
|
|
|
|
|
else
|
|
|
|
|
md5sum $1 | cut -d' ' -f 1
|
|
|
|
@ -460,7 +459,7 @@ startHttpServer() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
##
|
|
|
|
|
# closeHttpServer - power down the python web server
|
|
|
|
|
# cloaseHttpServer - power down the python web server
|
|
|
|
|
closeHttpServer() {
|
|
|
|
|
if [ ! -z $exiv2_httpServer ]; then
|
|
|
|
|
echo kill exiv2_httpServer $exiv2_httpServer
|
|
|
|
|