Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/suuhm/quick-extroot-openwrt.sh

Easy and fast shell script to create an Openwrt extroot on your USB stick
https://github.com/suuhm/quick-extroot-openwrt.sh

ash extroot openwrt router shell swap usb

Last synced: 12 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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:
```bash
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
```
3. 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 ``` Creating the extroot on your Device (Replace eg. `/dev/sda`)
- ```--create-swap ``` Creating swap device on Device (Replace eg. `/dev/sda`)
- ```--set-opkg2er``` Set up opkg package source list to extroot
- ```--fixup-extroot ``` For some cases this may help you to fix up your Extroot




# If you have some questions and ideas write an issue