File make_init_lsb.diff of Package ibmrtpkgs

diff -Napur ibmrtpkgs-2/config/ibmconfig ibmrtpkgs-2.new/config/ibmconfig
--- ibmrtpkgs-2/config/ibmconfig	2008-11-05 01:41:23.282900000 +0100
+++ ibmrtpkgs-2.new/config/ibmconfig	2008-11-05 02:24:58.907945000 +0100
@@ -7,10 +7,11 @@
 ### BEGIN INIT INFO
 # Provides:          ibmconfig
 # Required-Start:    boot.localfs
-# X-Should-Start:    
-# Required-Stop:
+# Required-Stop:     $null
+# Should-Start: 
+# Should-Stop: 
 # Default-Start:     B
-# Default-Stop:
+# Default-Stop:      
 # Description:       Sets up IBM RT environment on boot
 ### END INIT INFO
 
diff -Napur ibmrtpkgs-2/functions ibmrtpkgs-2.new/functions
--- ibmrtpkgs-2/functions	2008-11-05 01:41:23.304885000 +0100
+++ ibmrtpkgs-2.new/functions	1970-01-01 01:00:00.000000000 +0100
@@ -1,18 +0,0 @@
-#
-# Copyright (c) 2008 Novell Inc.
-#
-# bare minimum functions for init scripts
-#
-
-export PATH="/sbin:/usr/sbin:/bin:/usr/bin"
-
-success() {
-	echo $0: success $*
-	return 0
-}
-
-failure() {
-	echo $0: failure $*
-	return 1
-}
-
diff -Napur ibmrtpkgs-2/irqbindall/irqbindall ibmrtpkgs-2.new/irqbindall/irqbindall
--- ibmrtpkgs-2/irqbindall/irqbindall	2008-11-05 01:41:23.291900000 +0100
+++ ibmrtpkgs-2.new/irqbindall/irqbindall	2008-11-05 02:27:34.633062000 +0100
@@ -1,8 +1,17 @@
 #!/bin/bash
 # chkconfig: 2345 80 80
 # description: Sets irq affinity to all cpus
+#
+### BEGIN INIT INFO
+# Provides: irqbindall
+# Required-Start:
+# Required-Stop:
+# Default-Start: 2 3 4 5
+# Default-Stop: 
+# Description: Sets irq affinity to all cpus
+### END INIT INFO
 
-. /etc/init.d/functions
+. /etc/rc.status
 
 prog=irqbindall
 
diff -Napur ibmrtpkgs-2/rt-sshd/rt-sshd ibmrtpkgs-2.new/rt-sshd/rt-sshd
--- ibmrtpkgs-2/rt-sshd/rt-sshd	2008-11-05 01:41:23.192990000 +0100
+++ ibmrtpkgs-2.new/rt-sshd/rt-sshd	2008-11-05 02:36:13.863326000 +0100
@@ -11,9 +11,19 @@
 # config: /etc/ssh/ssh_random_seed
 # config: /etc/ssh/sshd_config
 # pidfile: /var/run/sshd.pid
+#
+### BEGIN INIT INFO
+# Provides: rt-sshd
+# Required-Start: $network $remote_fs
+# Required-Stop: $network $remote_fs
+# Default-Start: 3 5
+# Default-Stop: 0 1 2 6
+# Description: OpenSSH server daemon
+### END INIT INFO
+
 
 # source function library
-. /etc/init.d/functions
+. /etc/rc.status
 
 # pull in sysconfig settings
 [ -f /etc/sysconfig/rt-sshd ] && . /etc/sysconfig/rt-sshd
@@ -29,6 +39,16 @@ RSA_KEY=/etc/ssh/ssh_host_rsa_key
 DSA_KEY=/etc/ssh/ssh_host_dsa_key
 PID_FILE=/var/run/sshd.pid
 
+success() {
+	echo $0: success $*
+	return 0
+}
+
+failure() {
+	echo $0: failure $*
+	return 1
+}
+
 do_rsa1_keygen() {
 	if [ ! -s $RSA1_KEY ]; then
 		echo -n $"Generating SSH1 RSA host key: "