Giter VIP home page Giter VIP logo

teleport-spk's Introduction

teleport-spk

A script to build the teleport daemon for Synology NAS devices

Virtual environments and root privileges

Due to some strangeness with the way Synology has been packing their TAR files, their scripts need to be run with root privileges. This gets sticky with virtual envs, and required packages.

  1. Run python3 -m venv .venv to create and activate a new virtual environment.
  2. Run pip install -r requirements.txt to install the required python packages to the virtual environment
  3. Run deactivate to leave the venv
  4. Run sudo /path/to/your/.venv/bin/python3 build-spk.py --processor <your processor family> to execute the script as root, sourcing packages from the virtual environment

Command line options

Command Description Choices Default
-h --help Show the help screen None
--dsm-version The supported DSM version One of: [6.0, 6.1, 6.2, 6.2.2, 6.2.3, 6.2.4, 7.0, 7.1, 7.2] Latest, currently 7.2
--processor The processor family See this page None

Supported DSM Versions

Supported versions are determined by Synolog and are pulled from github when the script is run. Those are currently:

  • 6.0
  • 6.1
  • 6.2
  • 6.2.2
  • 6.2.3
  • 6.2.4
  • 7.0
  • 7.1
  • 7.2

Supported processor families

Supported processor families are determined by Synology. Please check this page to determine what processor family your model has.

teleport-spk's People

Contributors

haukened avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.