diff --git a/utils/lxc/Makefile b/utils/lxc/Makefile index 6970c5a670..8cca782740 100644 --- a/utils/lxc/Makefile +++ b/utils/lxc/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lxc PKG_VERSION:=2.1.1 -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_LICENSE:=LGPL-2.1-or-later BSD-2-Clause GPL-2.0 PKG_MAINTAINER:=Marko Ratkaj @@ -189,6 +189,10 @@ define Package/lxc-auto/install $(INSTALL_BIN) ./files/lxc-auto.init $(1)/etc/init.d/lxc-auto endef +define Package/lxc-auto/postinst +[ "$${PKG_UPGRADE}" = "0" ] && /etc/init.d/lxc-auto boot +endef + define Package/lxc-common/conffiles /etc/lxc/default.conf /etc/lxc/lxc.conf