[ Home page ]
userinit allows users on a multi-user system to specify scripts to be run at system boot time. This allows long-running processes to be restarted in the event of a system reboot. A good example is running fetchmail -d to collect mail periodically from a remote site. If the system is rebooted fetchmail will silently stop fetching mail until the user restarts it.
To use userinit, the user creates a file called .userinit in their home directory. The file should contain a list of commands to be executed at boot time.
The system administrator should ensure that userinit gets called at boot time.
Download: userinit (Perl script)
Paul Warren 16/03/2002