[Unit]
Description=Wait for network to be configured by ConnMan
After=connman.service
Before=network-online.target
DefaultDependencies=no
Conflicts=shutdown.target
ConditionPathExists=!/dev/.kernel_ipconfig

[Service]
Type=oneshot
ExecStartPre=/bin/sh -c 'echo "waiting on Network to come online ..."'
ExecStart=/usr/sbin/connmand-wait-online --timeout=30
StandardOutput=tty
RemainAfterExit=yes

[Install]
WantedBy=network-online.target
