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.
18 # XXX maybe we can split this package into smaller ones like -wireless,
22 The scripts that are contained in this package are the heart of the
23 IPFire networking. They control the configuration of the network
24 zones, physical and virtual devices, handle hotplug events and
28 source_dl = http://source.ipfire.org/releases/network/
56 prerequires = systemd-units
58 # Enable network service, so it starts at the first boot.
60 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
61 /bin/systemctl --no-reload enable network.service >/dev/null 2>&1 || :
65 /bin/systemctl --no-reload disable network.service >/dev/null 2>&1 || :
66 /bin/systemctl stop network.service >/dev/null 2>&1 || :
70 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
72 # Maybe it is not a good idea to restart network.
73 #/bin/systemctl try-reload-or-restart network.service >/dev/null 2>&1 || :