#!/bin/bash

IFFILE=/tmp/$IFACE.started


export DEBIAN_FRONTEND=noninteractive

if [ "$IFACE" = 'eth1' ] || [ "$IFACE" = 'wlan0' ]; then
  if [ -f "$IFFILE" ]; then
   rm "$IFFILE"
  fi
  systemctl start quectel-ppp.service
  #systemctl restart ssh_vpn.service
fi

exit 0

