Correct hardcode of Container Name when stopping the container
parent
d5a9d7a0b8
commit
32175ec2bf
2
run.sh
2
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"
|
||||
|
|
Loading…
Reference in New Issue