Added extra safe checks for the bigbluebutton file system
This commit is contained in:
parent
5788d28b53
commit
4090f3ddfd
@ -779,6 +779,21 @@ $RED5_DIRECTORY/log/deskshare.log"
|
||||
echo "Host IP does not match BigBlueButton: ${HOST_IP} != ${NGINX_IP}"
|
||||
fi
|
||||
|
||||
VARFolder=$(cat /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties | grep swfToolsDir | cut -d= -f2)
|
||||
if [ -x $VARFolder/pdf2swf ] && [ -x $VARFolder/jpeg2swf ] && [ -x $VARFolder/png2swf ]; then
|
||||
echo "pdf2swf, jpeg2swf and png2swf are installed in $VARFolder"
|
||||
fi
|
||||
|
||||
VARFolder=$(cat /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties | grep imageMagickDir | cut -d= -f2)
|
||||
if [ -x $VARFolder/convert ]; then
|
||||
echo "imageMagick's convert is installed in $VARFolder"
|
||||
fi
|
||||
|
||||
VARFolder=$(cat /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties | grep ghostScriptExec | cut -d= -f2)
|
||||
if [ -x $VARFolder ]; then
|
||||
echo "Ghostscript is installd in $VARFolder"
|
||||
fi
|
||||
|
||||
echo
|
||||
exit 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user