This repository has been archived by the owner. It is now read-only.
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.gitkeep added folder for official script Apr 15, 2015
README.md
lico-update.sh fixed some small problems Apr 25, 2018

README.md

lico-update.sh

The lico-update.sh script is the new official machine update script for the new RESTful API on linuxcounter.net

  • Update your linuxcounter machines directly via this script without the need for log into your account
  • Automate the machine update by installing a cronjob by invoking a simple command

Installation

Download the file "lico-update.sh" from github, move it into your PATH and make it executable:

$ wget https://github.com/alexloehner/linuxcounter-update-examples/raw/master/_official/lico-update.sh
$ chmod +x lico-update.sh
$ sudo mv lico-update.sh /usr/local/bin/lico-update.sh

Or clone the repository in order to be able to contribute to the code, enhance the script, fixing bugs and sending pull requests:

$ git clone https://github.com/alexloehner/linuxcounter-update-examples.git
$ cd linuxcounter-update-examples/_official
$ sudo cp lico-update.sh /usr/local/bin/lico-update.sh

Usage

First start the script by using the "-h" parameter to get some help:

$ lico-update.sh -h

You may use the interactive mode of the script for being guided through the machine registration and sending the data:

$ lico-update.sh -i

License


GNU General Public License Version 3

Free Software, Hell Yeah!