Skip to content

Commit

Permalink
fix parm name error
Browse files Browse the repository at this point in the history
  • Loading branch information
Lozy committed Jan 21, 2017
1 parent 2c15353 commit e9a0f82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions install_centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ done
[ -n "${user}" ] && DEFAULT_USER="${user}"
[ -n "${passwd}" ] && DEFAULT_PAWD="${passwd}"
[ -n "${whitelist_ipaddrs}" ] && WHITE_LIST_NET="${whitelist_ipaddrs}"
[ -n "${whilelist}" ] && WHITE_LIST="${whilelist}"
[ -n "${whitelist}" ] && WHITE_LIST="${whitelist}"

generate_config "${DEFAULT_IPADDR}" "${WHITE_LIST}"
generate_config "${DEFAULT_IPADDR}" "${WHITE_LIST}" "${WHITE_LIST_NET}"

[ -n "$gen_config_only" ] && echo "===========>> update config" && cat ${CONFIG_PATH} && exit 0

Expand Down
4 changes: 2 additions & 2 deletions install_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ done
[ -n "${user}" ] && DEFAULT_USER="${user}"
[ -n "${passwd}" ] && DEFAULT_PAWD="${passwd}"
[ -n "${whitelist_ipaddrs}" ] && WHITE_LIST_NET="${whitelist_ipaddrs}"
[ -n "${whilelist}" ] && WHITE_LIST="${whilelist}"
[ -n "${whitelist}" ] && WHITE_LIST="${whitelist}"

generate_config "${DEFAULT_IPADDR}" "${WHITE_LIST}"
generate_config "${DEFAULT_IPADDR}" "${WHITE_LIST}" "${WHITE_LIST_NET}"

[ -n "$gen_config_only" ] && echo "===========>> update config" && cat ${CONFIG_PATH} && exit 0

Expand Down

0 comments on commit e9a0f82

Please sign in to comment.