*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> dostartuphooks (9)              



NAME    [Toc]    [Back]

     dostartuphooks - run all startup hooks

SYNOPSIS    [Toc]    [Back]

     #include <sys/types.h>
     #include <sys/systm.h>


DESCRIPTION    [Toc]    [Back]

     The dostartuphooks() function invokes all startup hooks  established using
     the  startuphook_establish(9)  function.   Startup hooks are
called in order,
 i.e., the startup hook established first will be called

     This  function  is called from main() with interrupts turned
on.  It is
     called immediately before the system configures its root and
swap devices,
  but  fully after all normal autoconfiguration.  This
can be used to
     let device subsystems needing delayed  configuration  (e.g.,
due to very
     long  initialization  times)  still provide the root device.
The I2O system,
 implemented by the iop(4) and ioprbs(4) drivers,  is  a
good example.

     Startup  hooks are, like shutdown hooks, implemented via the
more general
     dohooks(9) API.

SEE ALSO    [Toc]    [Back]

     iop(4), ioprbs(4), dohooks(9), doshutdownhooks(9),

OpenBSD     3.6                           July      27,      2001
[ Back ]
 Similar pages
Name OS Title
crt0 HP-UX execution startup routines
startuphook_disestablish OpenBSD add or remove a startup hook
startuphook_establish OpenBSD add or remove a startup hook
crt0.o_ia HP-UX execution startup routines
rc.sendmail FreeBSD sendmail(8) startup script
crt0.o HP-UX execution startup routines
crt0_ia HP-UX execution startup routines
toggleSystemTunes IRIX set speaker volume during startup
gcrt0.o HP-UX execution startup routines; PARISC
rc.securelevel OpenBSD command scripts for system startup
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service