#!/bin/sh
# SPDX-License-Identifier: MIT

has_ems31=$(grep "A6E Cat.M1 Board" < /proc/device-tree/model)
has_default_route_on_ppp=$(ip route get 1.1.1.1 | grep ppp0)
if [ -z "$has_ems31" ] || [ -z "$has_default_route_on_ppp" ]; then
        exit 1
fi
