$
$vim configure.service
[Unit]
Description=Pbox configure service.
After=multi-user.target
[Service]
Type=oneshot
ExecStart=/etc/pboxConfigure.sh
[Install]
WantedBy=multi-user.target
$vim wireless_lte.service
[Unit]
Description=Pbox LTE(4G) Daemon Shell
After=multi-user.target configure.service
[Service]
Type=simple
ExecStart=/home/wireless_lte_daemon.sh start
[Install]
WantedBy=multi-user.target
$systemctl enable wireless_lte.service
$vim cora.timer
[Unit]
Description=Runs Pbox Script every 2 min
After=multi-user.target configure.service
[Timer]
OnBootSec=12s
OnUnitActiveSec=2min
Unit=wireless_lte.service
[Install]
WantedBy=multi-user.target
$systemctl enable cora.timer
$systemctl start cora.timer
$vim huawei-off.service
[Unit]
Description=Pbox LTE(4G) Shutdown
Before=shutdown.target reboot.target halt.target
DefaultDependencies=no
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/etc/wireless_lte_daemon.sh stop
[Install]
WantedBy=reboot.target
$vim systemctl enable huawei-off.service