Add backlink to original script on OpenWrt forum, update help text

This commit is contained in:
Rich Brown 2017-10-08 08:47:05 -04:00
parent e608f2cbce
commit ecb95507d2
2 changed files with 12 additions and 6 deletions

View file

@ -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

View file

@ -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]