1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
12 maintainer = Michael Tremer <michael.tremer@ipfire.org>
13 groups = Base Networking/Tools
14 url = http://www.ipfire.org/
16 summary = The IPFire Networking Scripts.
19 The scripts that are contained in this package are the heart of the
20 IPFire networking. They control the configuration of the network
21 zones, physical and virtual devices, handle hotplug events and
25 source_dl = http://source.ipfire.org/releases/network/
29 # Create some dummy configuration files.
30 mkdir -pv %{BUILDROOT}%{sysconfdir}/{firewall,network}
31 touch %{BUILDROOT}%{sysconfdir}/network/{config,dns-servers}
43 initscripts >= 1:2.99-18
55 wpa_supplicant >= 1.0-2
65 # Enable network service, so it starts at the first boot.
67 systemctl daemon-reload >/dev/null 2>&1 || :
68 systemctl --no-reload enable network.service >/dev/null 2>&1 || :
72 systemctl --no-reload disable network.service >/dev/null 2>&1 || :
73 systemctl stop network.service >/dev/null 2>&1 || :
77 systemctl daemon-reload >/dev/null 2>&1 || :