Index: installinit.sgml
===================================================================
RCS file: /cvsroot/lsb/spec/wip/sysinit/installinit.sgml,v
retrieving revision 1.1
diff -u -r1.1 installinit.sgml
--- installinit.sgml 21 Apr 2003 12:36:37 -0000 1.1
+++ installinit.sgml 21 Jun 2003 10:43:18 -0000
@@ -20,6 +20,13 @@
/usr/lib/lsb/install_initd /etc/init.d/example.com-coffeed
+
+The install_initd program shall return an exit status of zero if the
+init.d file has been successfully installed or if the the init.d file
+was already installed. If the required boot facilities cannot be fulfilled
+an exit status of one shall be returned and the init.d file shall not be
+installed.
+
When a software package is removed, the package's preuninstall script
@@ -35,6 +42,13 @@
/usr/lib/lsb/remove_initd /etc/init.d/example.com-coffeed
+
+The remove_initd program shall return an exit status of zero if the
+init.d file has been successfully removed or if the the init.d file
+is not installed. If another init.d file which depends on a boot facility
+provided by this init.d file is installed, an exit status of one shall be
+returned and the init.d file shall remained installed.
+
There should be a tool available to the user (e.g., RedHat's chkconfig)