Skip to content

Instantly share code, notes, and snippets.

@wolf128058
Last active January 12, 2021 03:20
Show Gist options
  • Save wolf128058/2f7256ce9ec71c8d719e0e7c426e4b92 to your computer and use it in GitHub Desktop.
Save wolf128058/2f7256ce9ec71c8d719e0e7c426e4b92 to your computer and use it in GitHub Desktop.
Quicksetup4Robin
#!/bin/sh
wget https://raw.githubusercontent.com/wolf128058/firmware/feature_robin4routers/files/usr/sbin/wgetspeedtest.sh -O /usr/sbin/wgetspeedtest.sh
chmod +x /usr/sbin/wgetspeedtest.sh
wget https://raw.githubusercontent.com/wolf128058/firmware/feature_robin4routers/files/usr/sbin/robin_print_map.sh -O /usr/sbin/robin_print_map.sh
chmod +x /usr/sbin/robin_print_map.sh
@wolf128058
Copy link
Author

wolf128058 commented Oct 27, 2020

  1. Execute with:
    wget -q -O quicksetuprobin.sh https://gist.github.com/wolf128058/2f7256ce9ec71c8d719e0e7c426e4b92/raw/6c9ed73eabfcd05b1793f803b48fd2ea27c783c9/quicksetuprobin.sh && sh quicksetuprobin.sh && rm quicksetuprobin.sh

  2. Add as Cronjob
    # Publish speedtest data
    */7 * * * * /usr/sbin/robin_print_map.sh -p > /dev/null

  3. Try as manually executed runs
    /usr/sbin/wgetspeedtest.sh -w
    /usr/sbin/robin_print_map.sh
    /usr/sbin/robin_print_map.sh -p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment