logiccloud Activation Service for WAGO Devices
To activate a license key on a device, you first need to install the correct Activation Service for your device.
-
Get the wago-activation-service binary from here and copy it to the device or directly on the device, if wget is available.
wget https://logicclouddownload.blob.core.windows.net/edge-downloads/activation/linux/arm/v7/wago-activation-service/wago-activation-service
-
Put the wago-activation-service binary to /usr/bin/.
mv ./wago-activation-service /usr/bin/
-
Create the logiccloud-activation init script in /etc/init.d/ with the following contents:
#!/bin/bash
/usr/bin/wago-activation-service
- Call the init script in inittab. Edit the
/etc/inittab
file and add the line that calls our init scriptconsole::respawn:/bin/sh /etc/init.d/logiccloud-activation
after the existing sysinit and other respawn commands.
...
::sysinit:/etc/init.d/rcS
console::respawn:/sbin/getty -L 115200 service xterm
## The logiccloud-activation init script
console::respawn:/bin/sh /etc/init.d/logiccloud-activation
...
- Reboot the system. The activation service should run automatically:
> ps aux | grep "logiccloud-activation"
root 1681 0.0 0.0 2784 344 ? Ss 13:09 0:00 /bin/sh /etc/init.d/logiccloud-activation
root 2090 0.0 0.0 7532 392 pts/0 S+ 13:16 0:00 grep logiccloud-activation