Add a logging shell library.
Add a shell library for hardware related stuff.
Add shell library for checking Tails Greeter settings.
Add helper script useful for MAC spoofing.

It has options for taking into account the setting selected in Tails
Greeter.
Hook MAC spoofing to an udev rule.

This way it doesn't matter if devices are added before or after MAC
spoofing has been enabled or disabled in Tails Greeter; they will get
the correct setting no matter what (provided we unspoof devices added
after T-G if MAC spoofing is disabled).
Add missing quotes.
Clarify comment.
Set -e explicitly. Also -u as bonus.

Settings in the shebang are ignored if scripts invoked by an explicit
shell.
Be more careful with whitespaces in macchanger output.

One of the Debian patches actually changes this, so let's stay
on the safe side.
Merge remote-tracking branch 'origin/devel' into feature/spoof-mac
Remove unused function from shell library.

It wasn't very robust any way, so let's implement it properly in the
future if we need it.
Add monitor for detecting network blockage.

Since we enable MAC spoofing by default, users may experience network
connection issues on networks emplying MAC address blocking.
Unfortunately NetworkManager does not seem to offer any nice hook into
its error-handling, so when MAC spoofing is enabled we run (from T-G)
this crufty script which analyzes NM's log and tries to identify
connection failures that is unrelated to more common errors, like
entering an incorrect WPA passphrase. At the moment the script only
handles wifi networks, not wired, WAN, etc.
Don't use unset variables as "booleans" when we `set -u`.
Block probing of all network devices.

We also add a script that undoes this by unblocking the modules and
making udev re-probe for devices. This script is intended to be run
from T-G's PostLogin script, if MAC spoofing is enabled.
Merge branch 'feature/block-network' into feature/spoof-mac

Conflicts:
	config/chroot_local-packageslists/tails-common.list
Fix typo in script.
Skip trying (and failing) to spoof non-existing NICs.
Avoid sub-shelling.

Previously we returned in a sub-shell, which probably didn't do what
we wanted. If anything, this makes the code more readable at least.
Make variable local.
Add more logging.