Name

add_wakeupserver_ip.sh — links a wakeup server IP and Port to a MCC-MNC pair

Synopsis

scripts/add_wakeupserver_ip.sh [mcc] [mnc] [wakeup server URL]

Description

Updates the operators collection linking a WakeUp server to the mcc-mnc pair.

This command should only be used each time the WakeUp server address is changed.

It's important to note that the MNC SHALL be 2 digits and MCC 3 digits. Fill with 0s if necessary

With an empty URL into the third parameter, the WakeUp server will be disabled into next runnings

Example

Enabling:

scripts/add_wakeupserver_ip.sh 214 07 http://1.2.3.4:4567

Disabling:

scripts/add_wakeupserver_ip.sh 214 07