#!/bin/sh
# load common functions
. /opt/lnxall_app/lib/dyiot/scripts/init-functions.sh

lnxdf_systemd_disable avahi-daemon avahi-daemon.socket ModemManager
systemctl disable location_4g.service >/dev/null 2>/dev/null

lnxdf_factory_inst
lnxdf_ssdformat_inst
lnxdf_etcconfig_inst

lnxdf_bdhcpd_inst
lnxdf_network_inst
lnxdf_systemd_inst 'poweroffcheck.service'

nothup sh -c "sleep 1 ; netuci"
exit 0
