Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 463480 Details for
Bug 609146
app-emulation/lxd: lxd-*.initd are not POSIX compliant
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
lxd.init.patch
lxd.init.patch (text/plain), 1.56 KB, created by
Andrew Savchenko
on 2017-02-12 17:20:37 UTC
(
hide
)
Description:
lxd.init.patch
Filename:
MIME Type:
Creator:
Andrew Savchenko
Created:
2017-02-12 17:20:37 UTC
Size:
1.56 KB
patch
obsolete
>diff --git a/app-emulation/lxd/files/lxd-2.5.initd b/app-emulation/lxd/files/lxd-2.5.initd >index c1aef377ab..d54e7a7cdf 100644 >--- a/app-emulation/lxd/files/lxd-2.5.initd >+++ b/app-emulation/lxd/files/lxd-2.5.initd >@@ -1,5 +1,5 @@ > #!/sbin/openrc-run >-# Copyright 1999-2016 Gentoo Foundation >+# Copyright 1999-2017 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # $Id$ > >@@ -31,7 +31,7 @@ start() { > } > > stop() { >- if [[ $RC_GOINGDOWN = YES ]] || [[ $RC_REBOOT = YES ]]; then >+ if [ "$RC_GOINGDOWN" = "YES" ] || [ "$RC_REBOOT" = "YES" ]; then > stopall > else > ebegin "Stopping lxd service (but not containers)" >diff --git a/app-emulation/lxd/files/lxd-2.7.initd b/app-emulation/lxd/files/lxd-2.7.initd >index 98b89bde5f..d54e7a7cdf 100644 >--- a/app-emulation/lxd/files/lxd-2.7.initd >+++ b/app-emulation/lxd/files/lxd-2.7.initd >@@ -31,7 +31,7 @@ start() { > } > > stop() { >- if [[ $RC_GOINGDOWN = YES ]] || [[ $RC_REBOOT = YES ]]; then >+ if [ "$RC_GOINGDOWN" = "YES" ] || [ "$RC_REBOOT" = "YES" ]; then > stopall > else > ebegin "Stopping lxd service (but not containers)" >diff --git a/app-emulation/lxd/files/lxd-2.8.initd b/app-emulation/lxd/files/lxd-2.8.initd >index 98b89bde5f..d54e7a7cdf 100644 >--- a/app-emulation/lxd/files/lxd-2.8.initd >+++ b/app-emulation/lxd/files/lxd-2.8.initd >@@ -31,7 +31,7 @@ start() { > } > > stop() { >- if [[ $RC_GOINGDOWN = YES ]] || [[ $RC_REBOOT = YES ]]; then >+ if [ "$RC_GOINGDOWN" = "YES" ] || [ "$RC_REBOOT" = "YES" ]; then > stopall > else > ebegin "Stopping lxd service (but not containers)"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 609146
: 463480