mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
strongswan: add openwrt hotplug script handling
Ipsec user script (/etc/ipsec.user) now get called indirectly by openwrt "/sbin/hotplug-call". So other packages could also install their scripts in "/etc/hotplug.d/ipsec". Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
@@ -561,7 +561,9 @@ define Plugin/updown/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/ipsec/plugins
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/_updown $(1)/usr/lib/ipsec/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/plugins/libstrongswan-updown.so $(1)/usr/lib/ipsec/plugins/
|
||||
$(INSTALL_DIR) $(1)/etc
|
||||
$(INSTALL_DIR) $(1)/etc/hotplug.d/ipsec
|
||||
$(CP) ./files/etc/hotplug.d/ipsec/01-user \
|
||||
$(1)/etc/hotplug.d/ipsec/01-user
|
||||
endef
|
||||
|
||||
define Plugin/vici/install
|
||||
|
||||
Reference in New Issue
Block a user