Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/suuhm/quick-extroot-openwrt.sh
- Owner: suuhm
- Created: 2021-11-11T21:25:38.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-06T20:51:19.000Z (about 1 year ago)
- Last Synced: 2024-03-15T09:01:32.340Z (10 months ago)
- Topics: ash, extroot, openwrt, router, shell, swap, usb
- Language: Shell
- Homepage:
- Size: 17.6 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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