Test functions added for remote GPIO and slow boot.

This commit is contained in:
spl 2016-05-23 14:54:26 +01:00
parent 03775acf7a
commit 5fcbf6c177

View File

@ -773,6 +773,14 @@ do_boot_behaviour_new() {
fi
}
get_boot_fast() {
if test -e /etc/systemd/system/dhcpcd.service.d/wait.conf; then
echo 1
else
echo 0
fi
}
do_wait_for_network() {
get_init_sys
if [ $SYSTEMD -eq 0 ]; then
@ -810,6 +818,14 @@ EOF
fi
}
get_rgpio() {
if test -e /etc/systemd/system/pigpiod.service.d/public.conf; then
echo 0
else
echo 1
fi
}
do_gpiosec() {
get_init_sys
if [ $SYSTEMD -eq 0 ]; then