mirror of
https://github.com/richb-hanover/OpenWrtScripts.git
synced 2026-03-30 10:44:32 +02:00
Add backlink to original script on OpenWrt forum, update help text
This commit is contained in:
parent
e608f2cbce
commit
ecb95507d2
2 changed files with 12 additions and 6 deletions
|
|
@ -58,7 +58,7 @@ By default, the `write` command saves the list of installed packages in
|
|||
|
||||
`sh opkgscript.sh install` _use after successful sysupgrade, to restore those packages_
|
||||
|
||||
`sh opkgscript.sh` _display full help information for the script_
|
||||
`sh opkgscript.sh help` _display full help information for the script_
|
||||
|
||||
---
|
||||
## config-openwrt.sh
|
||||
|
|
|
|||
|
|
@ -6,6 +6,11 @@
|
|||
#
|
||||
# (c) 2013 Malte Forkel <malte.forkel@berlin.de>
|
||||
#
|
||||
# Originally found on OpenWrt forums at:
|
||||
# https://forum.openwrt.org/viewtopic.php?pid=194478#p194478
|
||||
# Thanks, too, to hnyman for important comments on this script
|
||||
# Minor edits to the script for publication in github by richb-hanvover
|
||||
#
|
||||
# Version history
|
||||
# 0.2.1 - fixed typo in awk script for dependency detection
|
||||
# 0.2.0 - command interface
|
||||
|
|
@ -48,16 +53,17 @@ Before the firmware upgrade, execute
|
|||
|
||||
$SCRIPTNAME [options...] write [packagelist]
|
||||
|
||||
to save the list of currently installed packages. The default package list
|
||||
is '$PCKGLIST'. Save the package list in a place that will
|
||||
not be wiped out by the firmware upgrade or copy it to another computer
|
||||
before the upgrade.
|
||||
to save the list of currently installed packages. Save the package list in a
|
||||
place that will not be wiped out by the firmware upgrade. The default package list
|
||||
is '$PCKGLIST', which works well for normal sysupgrades. Or copy that file to
|
||||
another computer before the upgrade if you are not preserving the settings.
|
||||
|
||||
After the firmware upgrade, execute
|
||||
|
||||
$SCRIPTNAME [options...] install [packagelist]
|
||||
|
||||
to re-install all packages that were not part of the firmware image.
|
||||
to re-install all packages that were not part of the firmware image.
|
||||
By default, the script will use the previously-created '$PCKGLIST'.
|
||||
Alternatively, you can execute
|
||||
|
||||
$SCRIPTNAME [options...] script [packagelist]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue