File openswan_30_rcscript.dif of Package openswan

diff -Nur openswan-2.6.37-orig//programs/setup/setup.in openswan-2.6.37//programs/setup/setup.in
--- openswan-2.6.37-orig//programs/setup/setup.in	2011-10-28 23:11:53.000000000 +0200
+++ openswan-2.6.37//programs/setup/setup.in	2011-12-09 11:18:01.000000000 +0100
@@ -1,15 +1,6 @@
 #!/bin/sh
 # IPsec startup and shutdown script
 #
-### BEGIN INIT INFO
-# Provides:          ipsec
-# Required-Start:    $network $remote_fs $syslog $named
-# Required-Stop:     $syslog $remote_fs
-# Default-Start:
-# Default-Stop:      0 1 6
-# Short-Description: Start Openswan IPsec at boot time
-# Description:       Enable automatic key management for IPsec (KLIPS and NETKEY)
-### END INIT INFO
 #
 ### see https://bugzilla.redhat.com/show_bug.cgi?id=636572
 ### Debian and Fedora interpret the LSB differently
@@ -47,6 +38,21 @@
 # description: IPsec provides encrypted and authenticated communications; \
 # KLIPS is the kernel half of it, Pluto is the user-level management daemon.
 
+### BEGIN INIT INFO
+# Provides:          ipsec
+# Required-Start:    $network $remote_fs $syslog $named
+# Required-Stop:     $syslog $remote_fs
+# Default-Start:     3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Start Openswan IPsec at boot time
+# Description:       Enable automatic key management for IPsec (KLIPS and NETKEY)
+### END INIT INFO
+
+. /etc/rc.status
+rc_reset
+return=$rc_done
+export rc_failed rc_done rc_running rc_unused rc_dead
+
 test $IPSEC_INIT_SCRIPT_DEBUG && set -v -x
 
 prog='ipsec setup'		# for messages
openSUSE Build Service is sponsored by