reverse default and set values for hostcache option

This commit is contained in:
Dave Reisner 2012-07-14 09:33:46 -04:00
parent 694742e484
commit de68d4cc02

View File

@ -13,7 +13,7 @@ shopt -s extglob
m4_include(common)
newroot=/mnt
hostcache=1
hostcache=0
usage() {
cat <<EOF
@ -43,7 +43,7 @@ while getopts ':cdr:' flag; do
newroot=$OPTARG
;;
c)
hostcache=0
hostcache=1
;;
:)
die '%s: option requires an argument -- '\''%s'\' "${0##*/}" "$OPTARG"