aboutsummaryrefslogtreecommitdiffstats
path: root/main/lxc/lxc.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-02-08 13:31:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-02-08 13:33:59 +0000
commit5355d010445fdc323d07261f22ce052d017ded66 (patch)
tree117ef9897813e09b04406bfa77837c328124499a /main/lxc/lxc.initd
parentc73985b8e9c226077c45f25b4a76cf3ecd39529a (diff)
downloadaports-5355d010445fdc323d07261f22ce052d017ded66.tar.bz2
aports-5355d010445fdc323d07261f22ce052d017ded66.tar.xz
main/lxc: fixes for shutdown
Diffstat (limited to 'main/lxc/lxc.initd')
-rw-r--r--main/lxc/lxc.initd5
1 files changed, 0 insertions, 5 deletions
diff --git a/main/lxc/lxc.initd b/main/lxc/lxc.initd
index cfa90c8690..4ece09f9a9 100644
--- a/main/lxc/lxc.initd
+++ b/main/lxc/lxc.initd
@@ -74,11 +74,6 @@ start() {
stop() {
checkconfig || return 1
- if ! [ -d /sys/fs/cgroup/cpuset/lxc/${CONTAINER} ]; then
- ewarn "${CONTAINER} doesn't seem to be started."
- return 0
- fi
-
ebegin "Shutting down system in ${CONTAINER}"
start-stop-daemon --stop --pidfile ${pidfile} \
--retry ${POWEROFF_SIGNAL:-SIGUSR2}/${TIMEOUT:-30} \