Skip to content

Commit 2401eb9

Browse files
vincentbernatyadvr
authored andcommitted
CLOUDSTACK-7633: fix "Provides" in most LSB headers
In init.d scripts, the LSB header may specify what kind of service is provided by an init script. If spaces are used, this means the init script is providing several boot facilities. We fix that by using an hyphen. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 59482b3 commit 2401eb9

File tree

14 files changed

+14
-14
lines changed

14 files changed

+14
-14
lines changed

agent/distro/opensuse/sles/SYSCONFDIR/init.d/cloud-agent.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
### BEGIN INIT INFO
3-
# Provides: cloud agent
3+
# Provides: cloudstack-agent
44
# Required-Start: $network
55
# Required-Stop: $network
66
# Default-Start: 3 4 5

agent/distro/sles/SYSCONFDIR/init.d/cloud-agent.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
### BEGIN INIT INFO
3-
# Provides: cloud agent
3+
# Provides: cloudstack-agent
44
# Required-Start: $network
55
# Required-Stop: $network
66
# Default-Start: 3 4 5

agent/distro/ubuntu/SYSCONFDIR/init.d/cloud-agent.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
### BEGIN INIT INFO
4-
# Provides: cloud agent
4+
# Provides: cloudstack-agent
55
# Required-Start: $network $local_fs
66
# Required-Stop: $network $local_fs
77
# Default-Start: 3 4 5

packaging/centos63/cloud-usage.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
### BEGIN INIT INFO
4-
# Provides: cloud usage
4+
# Provides: cloudstack-usage
55
# Required-Start: $network $local_fs
66
# Required-Stop: $network $local_fs
77
# Default-Start: 3 4 5

packaging/debian/init/cloud-agent

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
### BEGIN INIT INFO
4-
# Provides: cloud agent
4+
# Provides: cloudstack-agent
55
# Required-Start: $network $local_fs
66
# Required-Stop: $network $local_fs
77
# Default-Start: 3 4 5

packaging/debian/init/cloud-usage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
### BEGIN INIT INFO
4-
# Provides: cloudstack usage
4+
# Provides: cloudstack-usage
55
# Required-Start: $network $local_fs
66
# Required-Stop: $network $local_fs
77
# Default-Start: 3 4 5

python/distro/opensuse/SYSCONFDIR/init.d/cloud-ipallocator.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# under the License.
1818

1919
### BEGIN INIT INFO
20-
# Provides: cloud ipallocator
20+
# Provides: cloudstack-ipallocator
2121
# Required-Start: $network
2222
# Required-Stop: $network
2323
# Default-Start: 3 4 5

python/distro/sles/SYSCONFDIR/init.d/cloud-ipallocator.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# under the License.
1818

1919
### BEGIN INIT INFO
20-
# Provides: cloud ipallocator
20+
# Provides: cloudstack-ipallocator
2121
# Required-Start: $network
2222
# Required-Stop: $network
2323
# Default-Start: 3 4 5

usage/distro/centos/SYSCONFDIR/rc.d/init.d/cloud-usage.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
### BEGIN INIT INFO
4-
# Provides: cloud usage
4+
# Provides: cloudstack-usage
55
# Required-Start: $network $local_fs
66
# Required-Stop: $network $local_fs
77
# Default-Start: 3 4 5

usage/distro/fedora/SYSCONFDIR/rc.d/init.d/cloud-usage.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
### BEGIN INIT INFO
4-
# Provides: cloud usage
4+
# Provides: cloudstack-usage
55
# Required-Start: $network $local_fs
66
# Required-Stop: $network $local_fs
77
# Default-Start: 3 4 5

0 commit comments

Comments
 (0)