forked from pool/iptables
This commit is contained in:
parent
5230699ad3
commit
d99609f681
@ -201,8 +201,12 @@ update-alternatives \
|
||||
--slave "%_sbindir/ip6tables" ip6tables "%_sbindir/xtables-nft-multi" \
|
||||
--slave "%_sbindir/ip6tables-restore" ip6tables-restore "%_sbindir/xtables-nft-multi" \
|
||||
--slave "%_sbindir/ip6tables-save" ip6tables-save "%_sbindir/xtables-nft-multi"
|
||||
update-alternatives --install "%_sbindir/arptables" arptables "%_sbindir/xtables-nft-multi" 2
|
||||
update-alternatives --install "%_sbindir/ebtables" ebtables "%_sbindir/xtables-nft-multi" 2
|
||||
update-alternatives --install "%_sbindir/arptables" arptables "%_sbindir/xtables-nft-multi" 2 \
|
||||
--slave "%_sbindir/arptables-restore" arptables-restore "%_sbindir/xtables-nft-multi" \
|
||||
--slave "%_sbindir/arptables-save" arptables-save "%_sbindir/xtables-nft-multi" \
|
||||
update-alternatives --install "%_sbindir/ebtables" ebtables "%_sbindir/xtables-nft-multi" 2 \
|
||||
--slave "%_sbindir/ebtables-restore" ebtables-restore "%_sbindir/xtables-nft-multi" \
|
||||
--slave "%_sbindir/ebtables-save" ebtables-save "%_sbindir/xtables-nft-multi" \
|
||||
|
||||
%postun backend-nft
|
||||
update-alternatives --remove iptables "%_sbindir/xtables-nft-multi"
|
||||
|
Loading…
Reference in New Issue
Block a user