Browse Source

Merge pull request #14162 from Cynerd/rpcd-mod-lxc-postinst

rpcd-mod-lxc: add postinst to reload rpcd on update/installation
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
c47870b398
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      utils/rpcd-mod-lxc/Makefile

+ 6
- 1
utils/rpcd-mod-lxc/Makefile View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=rpcd-mod-lxc
PKG_RELEASE=20171206
PKG_RELEASE=20201208
PKG_LICENSE:=ISC
@ -34,4 +34,9 @@ define Package/rpcd-mod-lxc/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/lxc.so $(1)/usr/lib/rpcd/
endef
define Package/rpcd-mod-lxc/postinst
#!/bin/sh
[ -n "$$IPKG_INSTROOT" ] || /etc/init.d/rpcd reload
endef
$(eval $(call BuildPackage,rpcd-mod-lxc))

Loading…
Cancel
Save