From 32175ec2bf4cfd41907c84e16deda9b12733bdfc Mon Sep 17 00:00:00 2001 From: Stanley Lim Date: Sat, 23 May 2020 16:50:09 +0800 Subject: [PATCH] Correct hardcode of Container Name when stopping the container --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index eda8a40..5c4c062 100755 --- a/run.sh +++ b/run.sh @@ -33,7 +33,7 @@ function _get_phy_from_dev() { function _cleanup() { echo -e "\n* cleaning up..." echo "* stopping container" - docker stop openwrt_1 >/dev/null + docker stop $CONTAINER >/dev/null echo "* cleaning up netns symlink" sudo rm -rf /var/run/netns/$CONTAINER echo "* removing DHCP lease"