]> git.sur5r.net Git - bacula/bacula/commitdiff
Update doc
authorKern Sibbald <kern@sibbald.com>
Sat, 3 Apr 2004 21:26:49 +0000 (21:26 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 3 Apr 2004 21:26:49 +0000 (21:26 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1178 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/kernstodo
bacula/src/console/conio.c
bacula/src/filed/status.c
bacula/src/lib/signal.c
bacula/src/win32/Start.bat [new file with mode: 0644]
bacula/src/win32/Stop.bat [new file with mode: 0644]
bacula/src/win32/winbacula.nsi.in

index 44e444bd5789cc0e99ea040d54eac2c797ade8c4..6363437a6cf8b1b36394884bc2a60d28bf3cced2 100644 (file)
@@ -62,12 +62,11 @@ For 1.33 Testing/Documentation:
 
 For 1.33
 - Complete Win32 installer
+
+For version 1.35:
 - Finish work on Gnome restore GUI.
 - Fix "llist jobid=xx" where no fileset or client exists.
-- Test work on conio.c -- particularly linking.
-
---- Maybe in 1.33
-From Chris Hull:
+- From Chris Hull:
    it seems to be complaining about 12:00pm which should be a valid 12
    hour time.  I changed the time to 11:59am and everything works fine.
    Also 12:00am works fine.  0:00pm also works (which I don't think
@@ -78,9 +77,6 @@ From Chris Hull:
 - Add all pools in Dir conf to DB also update them to catch changed
   LabelFormats and such.
 - Update volumes FromPool=xxx does all volumes.
-
-
-For version 1.35:
 - Pass Director resource name as an option to the Console.
 - Add a "batch" mode to the Console (no unsolicited queries, ...).
 - Add code to check for tape alerts -- tapeinfo.
@@ -1423,4 +1419,4 @@ Block Position: 0
 - Check time/dates printed during restore when using Win32 API.
 - Once a job is canceled, make sure the status reflects that even if the
   job is "stuck" in the run queue.
-
+- Test work on conio.c -- particularly linking.
index 5b5cc57514f87226fed0edacc2864262fbcd32c8..7d6646305d5769f3f49f16ad9ed42d63c43f4018 100755 (executable)
@@ -841,12 +841,12 @@ static void rawmode(FILE *input)
    if (!termtype) {
       printf("Cannot get terminal type.\n");
       normode();
-      _exit(1);
+      exit(1);
    }
    if (tgetent(term_buffer, termtype) < 0) {
       printf("Cannot get terminal termcap entry.\n");
       normode();
-      _exit(1);
+      exit(1);
    }
    t_width = t_height = -1;
    t_width = tgetnum("co") - 1;
@@ -996,9 +996,9 @@ void clrbrk()
 static void sigintcatcher(int sig)
 {
    brkflg++;
-   if (brkflg > 1) {
+   if (brkflg > 3) {
       normode();
-      _exit(1);
+      exit(1);
    }
    signal(SIGINT, sigintcatcher);
 }
index b3077d05c2b0fb6b31c436ef8bdbcb8014c5a6c7..5393df16a1f0916bd72458111ea2943dcdf6e883 100755 (executable)
@@ -222,7 +222,7 @@ static void  list_terminated_jobs(void sendit(const char *msg, int len, void *sa
         dt, JobName);
       sendit(buf, strlen(buf), arg);
    }
-   sendit("====\n", 1, arg);
+   sendit("====\n", 5, arg);
    unlock_last_jobs_list();
 }
 
index 48e65c8d474c2561584f8e356e842f166c4fdd6b..a636a7440c4d3d5fc436648a350021582094150c 100644 (file)
@@ -64,7 +64,7 @@ static void signal_handler(int sig)
 
    /* If we come back more than once, get out fast! */
    if (already_dead > 1) {
-      _exit(1);
+      exit(1);
    }
    /* If we come back once, take normal exit */
    if (already_dead) {
diff --git a/bacula/src/win32/Start.bat b/bacula/src/win32/Start.bat
new file mode 100644 (file)
index 0000000..848470b
--- /dev/null
@@ -0,0 +1,5 @@
+rem
+rem Bacula start file for Win95/98/Me
+rem
+cd c:\bacula\bin
+c:\bacula\bin\bacula-fd.exe /service -c c:\bacula\bin\bacula-fd.conf
diff --git a/bacula/src/win32/Stop.bat b/bacula/src/win32/Stop.bat
new file mode 100644 (file)
index 0000000..4071e9d
--- /dev/null
@@ -0,0 +1,5 @@
+rem
+rem Bacula stop file for Win95/98/Me
+rem
+cd c:\bacula\bin
+c:\bacula\bin\bacula-fd.exe /kill
index 736d1838a7259cfe4ec004a0fee49b7aaeae840d..c401399a039009200f1a8885c344305a75e4021a 100755 (executable)
@@ -94,7 +94,6 @@ Section "Bacula File Service" SecService
  newconf:
   File /oname=bacula-fd.conf.new bacula-fd.conf
        
-
   ; If /service was given jump to the service install part
  do_service:
   Push "/service"
@@ -142,6 +141,8 @@ Section "Bacula File Service" SecService
   Exec 'net start bacula'
   goto NoStart 
  do_win98:
+  File Start.bat
+  File Stop.bat
   MessageBox MB_YESNO|MB_ICONQUESTION  "Would you like to start the Bacula Client now?" IDNO NoStart
  Start:
   Exec '"$INSTDIR\bin\bacula-fd.exe" -c "$INSTDIR\bin\bacula-fd.conf"'
@@ -151,6 +152,11 @@ SectionEnd
 
 
 Section "Install Documentation" SecDoc
+  SetOutPath "$INSTDIR\doc"
+  CreateDirectory "$INSTDIR\doc"
+  File ..\..\doc\html-manual\*.html
+  File ..\..\doc\html-manual\*.gif
+  File ..\..\doc\html-manual\*.jpg
 SectionEnd
 
 ;
@@ -158,7 +164,7 @@ SectionEnd
 ;
 
   LangString DESC_SecService ${LANG_ENGLISH} "Install Bacula client on this system."
-  LangString DESC_SecDoc ${LANG_ENGLISH} "Install Documenation (not implemented)."
+  LangString DESC_SecDoc ${LANG_ENGLISH} "Install Documenation on this system."
 
   !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
     !insertmacro MUI_DESCRIPTION_TEXT ${SecService} $(DESC_SecService)
@@ -189,6 +195,7 @@ Section "Uninstall"
   ; remove files and uninstaller (preserving config for now)
   CopyFiles /SILENT "$INSTDIR\bin\bacula-fd.conf" "$INSTDIR\bacula-fd.conf"
   Delete /REBOOTOK "$INSTDIR\bin\*.*"
+  Delete /REBOOTOK "$INSTDIR\doc\*.*"
   CopyFiles /SILENT "$INSTDIR\bacula-fd.conf" "$INSTDIR\bin\bacula-fd.conf"
   Delete /REBOOTOK "$INSTDIR\bacula-fd.conf"
   Delete /REBOOTOK "$INSTDIR\Uninstall.exe"
@@ -198,18 +205,12 @@ Section "Uninstall"
   Delete /REBOOTOK "$INSTDIR\bin\bacula-fd.conf"
   ; remove directories used
   RMDir "$INSTDIR\bin"
+  RMDir "$INSTDIR\doc"
   RMDir "$INSTDIR\working"
   RMDir "$INSTDIR"
   RMDir "C:\tmp"
   LeaveConfig:
   
-  ; If we need to reboot we'll ask
-  IfRebootFlag Reboot Continue
- Reboot:
-  MessageBox MB_YESNO|MB_ICONQUESTION "Some files will only be deleted after restarting. Reboot now?" IDNO Continue
-    Reboot
- Continue:
-
 SectionEnd
 
 ; eof