Index: /src/router/services/tools/overclock_routerstation.c
===================================================================
--- /src/router/services/tools/overclock_routerstation.c	(revision 11706)
+++ /src/router/services/tools/overclock_routerstation.c	(revision 11707)
@@ -59,9 +59,14 @@
     len = ftell(in);
     rewind(in);
+    char check[8];
+    char check2[8];
+    char values[8]={0x24,0x08,0x00,0xaa,0x15,0x09,0x00,0x04};
     fseek(in,0xc0,SEEK_SET);
-    char check[8];
-    char values[8]={0x24,0x08,0x00,0xaa,0x15,0x09,0x00,0x04};
     fread(check,1,8,in);
-    if (memcmp(check,values,8))
+    fseek(in,0xc4,SEEK_SET);
+    fread(check2,1,8,in);
+    int ret1=0xff;
+    int ret2=0xff;
+    if ((ret1=memcmp(check,values,8)) && (ret2=memcmp(check2,values,8)))
 	{
 	fprintf(stderr,"no compatible routerstation bootloader found\n");
@@ -69,4 +74,8 @@
 	return;
 	}
+    if (!ret1)
+	fprintf(stderr,"bootloader rev1 found\n");
+    if (!ret2)
+	fprintf(stderr,"bootloader rev2 found\n");
     FILE *out = fopen( "/tmp/boot", "w+b" );
     rewind(in);
@@ -101,4 +110,5 @@
 
 
-// int main (int argc, char *argv[]) { start_overclock (); } 
+int main (int argc, char *argv[]) { start_overclock (); } 
 
+
