mirror of
https://github.com/pygos/init.git
synced 2024-11-22 03:09:46 +01:00
Add nftables service
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
parent
95d8ddd713
commit
e15208097c
4 changed files with 10 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -35,6 +35,7 @@ services/modules
|
||||||
services/hostapd
|
services/hostapd
|
||||||
services/swclock
|
services/swclock
|
||||||
services/swclocksave
|
services/swclocksave
|
||||||
|
services/nft
|
||||||
|
|
||||||
scripts/devfs.sh
|
scripts/devfs.sh
|
||||||
scripts/ifrename.sh
|
scripts/ifrename.sh
|
||||||
|
|
|
@ -70,6 +70,7 @@ AC_CONFIG_FILES([services/modules])
|
||||||
AC_CONFIG_FILES([services/hostapd])
|
AC_CONFIG_FILES([services/hostapd])
|
||||||
AC_CONFIG_FILES([services/swclock])
|
AC_CONFIG_FILES([services/swclock])
|
||||||
AC_CONFIG_FILES([services/swclocksave])
|
AC_CONFIG_FILES([services/swclocksave])
|
||||||
|
AC_CONFIG_FILES([services/nft])
|
||||||
AC_CONFIG_FILES([scripts/devfs.sh])
|
AC_CONFIG_FILES([scripts/devfs.sh])
|
||||||
AC_CONFIG_FILES([scripts/ifrename.sh])
|
AC_CONFIG_FILES([scripts/ifrename.sh])
|
||||||
AC_CONFIG_FILES([scripts/ifcfg.sh])
|
AC_CONFIG_FILES([scripts/ifcfg.sh])
|
||||||
|
|
|
@ -8,7 +8,7 @@ init_DATA += services/vfs services/ifrename services/ifcfg
|
||||||
init_DATA += services/dhcpcd services/dhcpcdmaster services/unbound
|
init_DATA += services/dhcpcd services/dhcpcdmaster services/unbound
|
||||||
init_DATA += services/dnsmasq services/ifdown services/modules
|
init_DATA += services/dnsmasq services/ifdown services/modules
|
||||||
init_DATA += services/network services/hostapd services/swclock
|
init_DATA += services/network services/hostapd services/swclock
|
||||||
init_DATA += services/swclocksave
|
init_DATA += services/swclocksave services/nft
|
||||||
|
|
||||||
if USYSLOGD
|
if USYSLOGD
|
||||||
init_DATA += services/usyslogd
|
init_DATA += services/usyslogd
|
||||||
|
|
7
services/nft.in
Normal file
7
services/nft.in
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
description "restore netfilter rule set"
|
||||||
|
type wait
|
||||||
|
target boot
|
||||||
|
after sysinit ifrename
|
||||||
|
before network ifcfg
|
||||||
|
|
||||||
|
exec nft -f "@ETCPATH@/nftables.rules"
|
Loading…
Reference in a new issue