Changeset 27631 for branches/backfire


Ignore:
Timestamp:
2011-07-17T11:29:17+02:00 (5 years ago)
Author:
jow
Message:

[backfire] backport r27630

Location:
branches/backfire/package/base-files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/package/base-files/Makefile

    r27617 r27631  
    1111 
    1212PKG_NAME:=base-files 
    13 PKG_RELEASE:=43.21 
     13PKG_RELEASE:=43.22 
    1414 
    1515PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ 
  • branches/backfire/package/base-files/files/sbin/sysupgrade

    r23295 r27631  
    1010export DELAY= 
    1111export CONF_IMAGE= 
     12export HELP=0 
     13 
    1214# parse options 
    1315while [ -n "$1" ]; do  
     
    1921                -n) export SAVE_CONFIG=0;; 
    2022                -f) export CONF_IMAGE="$2"; shift;; 
     23                -h|--help) export HELP=1; break;; 
    2124                -*) 
    2225                        echo "Invalid option: $1" 
     
    3437export ARGC="$#" 
    3538 
    36 [ -z "$ARGV" ] && { 
     39[ -z "$ARGV" -o $HELP -gt 0 ] && { 
    3740        cat <<EOF 
    3841Usage: $0 [options] <image file or URL> 
     
    4548        -q           less verbose 
    4649        -v           more verbose 
     50        -h / --help  display this help 
    4751 
    4852EOF 
Note: See TracChangeset for help on using the changeset viewer.