Skip to content
Snippets Groups Projects
Commit 0e32c6ba authored by Etienne Champetier's avatar Etienne Champetier Committed by Hauke Mehrtens
Browse files

iptables: add ip{,6}tables-legacy{,-restore,-save} symlinks


Now that we can have both legacy and nft iptables variants
installed at the same time, install the legacy symlinks

Signed-off-by: default avatarEtienne Champetier <champetier.etienne@gmail.com>
parent 3a5df36c
No related branches found
No related tags found
No related merge requests found
...@@ -614,6 +614,7 @@ endef ...@@ -614,6 +614,7 @@ endef
define Package/iptables/install define Package/iptables/install
$(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/xtables-legacy-multi $(1)/usr/sbin/ $(CP) $(PKG_INSTALL_DIR)/usr/sbin/xtables-legacy-multi $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/iptables-legacy{,-restore,-save} $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/usr/lib/iptables $(INSTALL_DIR) $(1)/usr/lib/iptables
endef endef
...@@ -626,6 +627,7 @@ endef ...@@ -626,6 +627,7 @@ endef
define Package/ip6tables/install define Package/ip6tables/install
$(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/ip6tables-legacy{,-restore,-save} $(1)/usr/sbin/
endef endef
define Package/ip6tables-nft/install define Package/ip6tables-nft/install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment