0.4 release updates
Disallow direct systemctl usage for profiles

This is meant to reduce confusion where netctl should be used instead of
systemctl.
Move the location for profiles

Old location: /etc/network.d
New location: /etc/netctl

This should ease migration from netcfg and is a better path anyway.
Left over updates of example profiles

The netmask is mandatory since commit 4a846.
0.5 release updates
Automatically escape dashes in interface names

Custom interface names like "eth-phone" or "eth-lte" are not uncommon,
and since they are used in pathes inside systemd units, dashes and unprintable
characters shall be escaped per unit file rules.

So replace "-" with "\x2d" in interface names.
Update documentation

DAD is still causing problems/confusion. This should help a bit.
Fix rfkill

Redirecting inside a do_debug call is, of course, impossible.
Introduce sleep hook (FS#33829)

This adds a store/restore hook to the sleep target of systemd.
Thanks to: Claudio Kozický.
Makefile: sign tarball and add upload target

Signed-off-by: Florian Pritz <bluewind@xinu.at>
PKGBUILD: use signed sources

This commit extends 8b1e0.
Fix special quoting in examples
0.6 release updates
Uniform translation of profiles to unit names

The unit corresponding to a profile named $p is netctl@$p.service.
We should not drop the suffix, since $p could contain a valid unit
suffix (although .service is not allowed).
We take care of this uniformly by wrapping around systemctl.
Additionally, `systemctl list-units` does not accept an '--active'
parameter, so we fix it to be consistent with `netctl list`.
connections/vlan: fix BindsToInterfaces length calculation

${#array[@]} requires "[@]" to count the array members. Otherwise it will
return the length of the first element which will hardly ever be 1.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
Proper systemd escaping

This fixes the use of all sorts of characters in profile names/interface names.
Unhardcode paths

Remove distribution-specific paths (and allow overrides).
Documentation updates
Fix termination of wpa_actiond

wpa_supplicant would not immediately terminate with an attached ctrl monitor.
0.7 release updates