summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/lxc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/lxc/Makefile b/utils/lxc/Makefile
index 8cca78274..417a24f5b 100644
--- a/utils/lxc/Makefile
+++ b/utils/lxc/Makefile
@@ -59,6 +59,10 @@ define Package/lxc-auto
DEPENDS:=+lxc-start +lxc-stop
endef
+define Package/lxc-auto/postinst
+[ -n "$${IPKG_INSTROOT}" ] || [ "$${PKG_UPGRADE}" = 1 ] || /etc/init.d/lxc-auto boot
+endef
+
define Package/lxc-auto/description
LXC is the userspace control package for Linux Containers, a lightweight
virtual system mechanism sometimes described as "chroot on steroids".