]> git.proxmox.com Git - openvswitch.git/blob - pvepatches/fix-init-depends.patch
start deamon early
[openvswitch.git] / pvepatches / fix-init-depends.patch
1 Index: new/debian/openvswitch-switch.init
2 ===================================================================
3 --- new.orig/debian/openvswitch-switch.init 2013-12-18 09:16:04.138935573 +0100
4 +++ new/debian/openvswitch-switch.init 2013-12-19 06:23:22.424300483 +0100
5 @@ -16,10 +16,12 @@
6 #
7 ### BEGIN INIT INFO
8 # Provides: openvswitch-switch
9 -# Required-Start: $network $named $remote_fs $syslog
10 -# Required-Stop: $remote_fs
11 -# Default-Start: 2 3 4 5
12 -# Default-Stop: 0 1 6
13 +# Required-Start: pvenetcommit
14 +# Required-Stop: $local_fs
15 +# X-Start-Before: networking
16 +# X-Stop-After: networking
17 +# Default-Start: S
18 +# Default-Stop: 0 6
19 # Short-Description: Open vSwitch switch
20 # Description: openvswitch-switch provides the userspace components and utilities for
21 # the Open vSwitch kernel-based switch.
22 Index: new/debian/rules
23 ===================================================================
24 --- new.orig/debian/rules 2013-12-18 07:59:19.000000000 +0100
25 +++ new/debian/rules 2013-12-19 10:23:47.363457352 +0100
26 @@ -131,7 +131,8 @@
27 dh_installexamples
28 dh_installdebconf
29 dh_installlogrotate
30 - dh_installinit -R
31 + dh_installinit -p "openvswitch-switch" -R -- start 20 S . stop 80 0 6 .
32 + dh_installinit --remaining-packages -R
33 dh_installcron
34 dh_installman --language=C
35 dh_link