On 2016-04-09 15:45, baggins wrote:
commit 9ec3dc4d5d00befe1b59d557cc4d4e34635816c5
Author: Jan Rękorajski
Date: Sat Apr 9 21:57:09 2016 +0900
- added ebtables init scripts
Have you actually tested this?
+ if is_yes "$EBTABLES_BINARY_FORMAT"; then
+ for table in $(ls /etc/sysconfig/ebtables.* 2>/dev/null
| sed -e 's/.*ebtables\.//' -e '/save/d' ); do
+ /usr/sbin/ebtables -t $table --atomic-file
/etc/sysconfig/ebtables.$table --atomic-commit || RETVAL=1
+ done
--atomic-file, --atomic-commit do not seem to work at all in the
iptables-provided 'ebtables'
[root@jajo ~]# ebtables-compat -t filter --atomic-file /tmp/x
--atomic-commit
Extensions only for -A, -I, -D and -C.
[root@jajo ~]# ebtables-compat -t filter --atomic-file /tmp/x --atomic-save
Extensions only for -A, -I, -D and -C.
+ else
+ /usr/sbin/ebtables-restore < /etc/sysconfig/ebtables ||
RETVAL=1
+ fi
And there is no such thing as ebtables-restore or ebtables-save here,
Jacek
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en