Skip to content

A collection of useful scripts for OpenWRT. In theory. Right now just one useful script!

Notifications You must be signed in to change notification settings

codebling/openwrt-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

opkg-cleanup

When opkg tries to install a package but fails (this can occur if, for example, your router runs out of space during installation, which can happen because opkg only naively checks space requirements), it doesn't clean up after itself.

This script looks up all files that would have been installed by a specific package, and if they exist, it deletes them.

Based on this gist.

Installation

wget https://github.com/codebling/openwrt-utils/raw/master/opkg-cleanup.sh

Usage

sh opkg-cleanup.sh to view usage

sh opkg-cleanup.sh <packages>

where is a list of (space-separated) packages (which were partially installed) to clean up.

About

A collection of useful scripts for OpenWRT. In theory. Right now just one useful script!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages