GithubHelp home page GithubHelp logo

suuhm / quick-extroot-openwrt.sh Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 1.0 18 KB

Easy and fast shell script to create an Openwrt extroot on your USB stick

Shell 100.00%
extroot openwrt shell ash usb swap router

quick-extroot-openwrt.sh's Introduction

quick-extroot-openwrt.sh

Easy and fast shell script to create an extroot on your Storage devives to extend the space on your Openwrt devices.

How to run the script:

  1. First put your wished Storage-Device (USB Stick / USB HDD etc.) in the OpenWRT.

  2. Now, simply run these two lines on your serial/ssh console:

opkg update ; opkg install libustream-mbedtls && \
wget https://raw.githubusercontent.com/suuhm/quick-extroot-openwrt.sh/main/quick-extroot.sh -qO- | \
sh -s -- --create-extroot 
  1. Finally reboot your device and enjoy extroot.

Alternatively you can just clone the project or copy/paste the file to your ssh console


Functions:

  • --create-extroot <dev> Creating the extroot on your Device (Replace eg. /dev/sda)
  • --create-swap <dev> Creating swap device on Device (Replace eg. /dev/sda)
  • --set-opkg2er Set up opkg package source list to extroot
  • --fixup-extroot <dev> For some cases this may help you to fix up your Extroot


If you have some questions and ideas write an issue


quick-extroot-openwrt.sh's People

Contributors

suuhm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

kpma1985

quick-extroot-openwrt.sh's Issues

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.