Running Unix shell scripts provided by XPI at Mozilla startup/shutdown

Roland Mainz <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpinstall
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Hi!

----

I am looking for someone with better XPI internals knowlegde than me to
create a plain, dumb example XPI with the following properties (I need
this as a template for
http://bugzilla.mozilla.org/show_bug.cgi?id=188733):
-- snip --
install.js # installer script
installer_shell_script.sh
my_foobar_daemon/start_my_foobar_daemon.sh
my_foobar_daemon/shutdown_my_foobar_daemon.sh
<more_files_which_are_needed_to_get_this_stuff_working.xyz>
-- snip --

Tasks what the package should do:
1. "install.js" should call "installer_shell_script.sh" at installation
time
2. On mozilla startup "my_foobar_daemon/start_my_foobar_daemon.sh" gets
called (syncronous if possible)
3. On mozilla shutdown "my_foobar_daemon/shutdown_my_foobar_daemon.sh"
gets called (syncronous if possible)

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 2426 901568 FAX +49 2426 901569
 (;O/ \/ \O;)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.