diff options
author | Luiz Angelo Daros de Luca <luizluca@gmail.com> | 2022-10-19 23:56:22 -0300 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2024-02-22 22:14:54 +0100 |
commit | 61ac147bb65a6af3e0428f24182c1593249985c2 (patch) | |
tree | c0f10f0c88b4936cca676c575d2327b3d731e481 /package/base-files | |
parent | 157d6019df425b7ffe77ee369a7ca5c21ea2aed0 (diff) | |
download | openwrt-61ac147bb65a6af3e0428f24182c1593249985c2.tar.gz openwrt-61ac147bb65a6af3e0428f24182c1593249985c2.tar.bz2 openwrt-61ac147bb65a6af3e0428f24182c1593249985c2.zip |
base-files: sysupgrade: fix error message and typo
Some minor error message and comment fixes.
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Diffstat (limited to 'package/base-files')
-rwxr-xr-x | package/base-files/files/sbin/sysupgrade | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index 43e129e1d7..e6ce3bd183 100755 --- a/package/base-files/files/sbin/sysupgrade +++ b/package/base-files/files/sbin/sysupgrade @@ -203,7 +203,7 @@ add_overlayfiles() { if [ $SAVE_OVERLAY = 1 ]; then [ ! -d /overlay/upper/etc ] && { - echo "Cannot find '/overlay/upper/etc', required for '-c'" >&2 + echo "Cannot find '/overlay/upper/etc', required for '-c' or '-o'" >&2 exit 1 } sysupgrade_init_conffiles="add_overlayfiles" @@ -246,7 +246,7 @@ do_save_conffiles() { ask_bool 0 "Abort" && exit } - # Format: pkg-name<TAB>{rom,overlay,unkown} + # Format: pkg-name<TAB>{rom,overlay,unknown} # rom is used for pkgs in /rom, even if updated later find /usr/lib/opkg/info -name "*.control" \( \ \( -exec test -f /rom/{} \; -exec echo {} rom \; \) -o \ |