Skip to content

Commit

Permalink
Improve cust params
Browse files Browse the repository at this point in the history
  • Loading branch information
Geofferey committed Aug 8, 2019
1 parent 112b920 commit 35a75cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ custom_params () {

while read -r VAR; do

if [[ "$(echo "${VAR}" |grep -w "$PARAM=")" ]]; then
if [[ "$(echo "${VAR}" |grep "$PARAM=")" ]]; then
echo "Importing ${VAR}"
VALUE="$(echo ${VAR} |cut -d '=' -f2)"

Expand Down Expand Up @@ -151,7 +151,7 @@ global_params

net_chk() {

${SYSBIN}/ping -c 5 ${NETCHK_ADDR}
ping -c 5 ${NETCHK_ADDR}

}

Expand Down

0 comments on commit 35a75cb

Please sign in to comment.