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