Lines 1-5
Link Here
|
1 |
#!/sbin/openrc-run |
1 |
#!/sbin/openrc-run |
2 |
# Copyright 1999-2016 Gentoo Foundation |
2 |
# Copyright 1999-2017 Gentoo Foundation |
3 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# Distributed under the terms of the GNU General Public License v2 |
4 |
# $Id$ |
4 |
# $Id$ |
5 |
|
5 |
|
Lines 31-37
start() {
Link Here
|
31 |
} |
31 |
} |
32 |
|
32 |
|
33 |
stop() { |
33 |
stop() { |
34 |
if [[ $RC_GOINGDOWN = YES ]] || [[ $RC_REBOOT = YES ]]; then |
34 |
if [ "$RC_GOINGDOWN" = "YES" ] || [ "$RC_REBOOT" = "YES" ]; then |
35 |
stopall |
35 |
stopall |
36 |
else |
36 |
else |
37 |
ebegin "Stopping lxd service (but not containers)" |
37 |
ebegin "Stopping lxd service (but not containers)" |