From: John F. <jo...@us...> - 2011-05-16 09:39:23
|
Update of /cvsroot/ingex/ingex/studio/scripts In directory vz-cvs-4.sog:/tmp/cvs-serv11450 Modified Files: startIngex_kde4.sh stopIngex.sh Log Message: Prevent scripts failing in some cases with D-Bus errors. Index: stopIngex.sh =================================================================== RCS file: /cvsroot/ingex/ingex/studio/scripts/stopIngex.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** stopIngex.sh 18 Jun 2010 08:43:46 -0000 1.3 --- stopIngex.sh 16 May 2011 09:39:21 -0000 1.4 *************** *** 8,11 **** --- 8,12 ---- # Check to see if capture is already running. If it is, check with the user to avoid stopping it by mistake + export $(dbus-launch) ABORT=0 if sudo killall -q -0 -e dvs_sdi Index: startIngex_kde4.sh =================================================================== RCS file: /cvsroot/ingex/ingex/studio/scripts/startIngex_kde4.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** startIngex_kde4.sh 18 Apr 2011 09:42:23 -0000 1.3 --- startIngex_kde4.sh 16 May 2011 09:39:21 -0000 1.4 *************** *** 139,142 **** --- 139,144 ---- DB_PARAMS="--dbhost $DB_HOST --dbname $DB_NAME --dbuser $DB_USER --dbpass $DB_PASS" + export $(dbus-launch) + # Check to see if capture is already running. If it is, check with the user to avoid restarting by mistake ABORT=0 |