Lakka-LibreELEC/packages/network/iptables/system.d/iptables.service
Radostan Riedel 68e038c675 iptables: Fix several issues
- iptables.service: Fix flush on stop if EnviromentFile becomes
unavailable

- home.v*: Fix wifi tethering

- iptables_helper: fix check_docker function
2018-01-05 12:28:44 +01:00

17 lines
498 B
Desktop File

[Unit]
Description=IPTABLES Packet Filtering
ConditionPathExists=/usr/lib/libreelec/iptables_helper
ConditionPathExists=|/storage/.cache/services/iptables.conf
Before=network.target
Wants=network.target
[Service]
Type=oneshot
EnvironmentFile=-/storage/.cache/services/iptables.conf
ExecStart=/usr/lib/libreelec/iptables_helper enable
ExecReload=/usr/lib/libreelec/iptables_helper enable
ExecStop=/usr/lib/libreelec/iptables_helper disable
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target