Skip to content

Commit

Permalink
unset MX_{IP,FWD}_* after use
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed Jan 3, 2012
1 parent 5926762 commit 18f6f84
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions mxvipctl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ function mxvip_start_one() {

i=i+1
done


unset ${!MX_IP_*}
unset ${!MX_FWD_*}

mv ${vip}{,.r}
}

Expand Down Expand Up @@ -110,7 +113,10 @@ function mxvip_stop_one() {

i=i+1
done


unset ${!MX_IP_*}
unset ${!MX_FWD_*}

rm ${vip}
}

Expand Down

0 comments on commit 18f6f84

Please sign in to comment.