aiccu: Minor whitespace fix

Signed-off-by: Ondrej Caletka <Ondrej@Caletka.cz>
aiccu: add NTP sync check

This check tries to wait for NTP daemon to synchronise clock to lower stratum
than 16 before running the aiccu binary. In case timeout (configurable
in new option ntpsynctimeout; default is 90 seconds) is reached, the
AICCU is run neverrtheless. This makes the new script compliant with
some corner case scenarios like not using Busybox NTPd or not using NTPd
at all, maintaining maximum out-of-the box functionality.

Signed-off-by: Ondrej Caletka <Ondrej@Caletka.cz>
aiccu: Issue aiccu stop only when aiccu is running

When AICCU is not running, running 'aiccu stop' results in unnecessary
communications with SixXS servers.

Signed-off-by: Ondrej Caletka <Ondrej@Caletka.cz>
aiccu: Add NTP hotplug hook

This hook simply writes current stratum to /var/run/aiccu_ntp_stratum,
from where it is read by aiccu proto script.

Signed-off-by: Ondrej Caletka <Ondrej@Caletka.cz>
Merge pull request #579 from oskar456/fix_aiccu

Rework AICCU proto hook