Index: /trunk/FACT++/scripts/Startup.js
===================================================================
--- /trunk/FACT++/scripts/Startup.js	(revision 17214)
+++ /trunk/FACT++/scripts/Startup.js	(revision 17215)
@@ -245,10 +245,12 @@
 var diff = (now-age)/3600000;
 
+var fb_state = dim.state("FEEDBACK").index;
+
 // !data_calibration.data: FEEDBACK might just be freshly
 // started and will not yet serve this service.
-if (data_calibration.data==null || (diff>8 && now.getHours()>16))
-{
-    if (data_calibration.data==null)
-        console.out("No BIAS crate calibration avaliable: New calibration needed.");
+if (fb_state<5 || (diff>8 && now.getHours()>16))
+{
+    if (fb_state<5)
+        console.out("No BIAS crate calibration available: New calibration needed.");
     else
         console.out("Last BIAS crate calibration taken at "+age.toUTCString()+": New calibration needed.");
@@ -262,4 +264,7 @@
 // Crosscheck all states
 // ================================================================
+
+// FIXME: Check if there is a startup shceduled, if not do not force
+// drive to be switched on
 
 var table =
