diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-10-26 18:13:22 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-10-26 18:13:22 -0700 |
commit | 290a17f504293f80b54bb8960293e6bc0cfacb19 (patch) | |
tree | 9a823fefe196436e6a87ce9a1716266ccc5ac180 | |
parent | 0851ef8fac2aa301f4bbea8b2155cc274846398c (diff) | |
download | vyatta-cfg-quagga-290a17f504293f80b54bb8960293e6bc0cfacb19.tar.gz vyatta-cfg-quagga-290a17f504293f80b54bb8960293e6bc0cfacb19.zip |
add "allowed" and "help" for completion
-rw-r--r-- | templates/system/time-zone/node.def | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/system/time-zone/node.def b/templates/system/time-zone/node.def index 22a2921e..72ca791e 100644 --- a/templates/system/time-zone/node.def +++ b/templates/system/time-zone/node.def @@ -14,3 +14,17 @@ case \"$(@)\" in \ esac && \ sudo ln -fs \\\$LTF /etc/localtime" delete: "sudo ln -fs /usr/share/zoneinfo/GMT /etc/localtime" +#allowed: local -a list=( "Los Angeles" "New York" "Denver" "Chicago" \ +# "Anchorage" "Honolulu" "Phoenix" "GMT" ) +# for (( i = -1; i > -13; i-- )); do +# list[${#list[@]}]="GMT$i"; +# done +# for (( i = 1; i < 13; i++ )); do +# list[${#list[@]}]="GMT+$i"; +# done +# for zone in "${list[@]}"; do +# echo \"$zone\" +# done +#comp_help:Enter one of the following time zones: +# Honolulu Anchorage Los Angeles Phoenix Denver Chicago New York +# GMT GMT-1 ... GMT-12 GMT+1 ... GMT+12 |