Merge pull request #2 from v01ded/fix_close_container_error
Correct hardcode of Container Name when stopping the containerpull/5/head
commit
531c83699a
2
run.sh
2
run.sh
|
@ -33,7 +33,7 @@ function _get_phy_from_dev() {
|
||||||
function _cleanup() {
|
function _cleanup() {
|
||||||
echo -e "\n* cleaning up..."
|
echo -e "\n* cleaning up..."
|
||||||
echo "* stopping container"
|
echo "* stopping container"
|
||||||
docker stop openwrt_1 >/dev/null
|
docker stop $CONTAINER >/dev/null
|
||||||
echo "* cleaning up netns symlink"
|
echo "* cleaning up netns symlink"
|
||||||
sudo rm -rf /var/run/netns/$CONTAINER
|
sudo rm -rf /var/run/netns/$CONTAINER
|
||||||
echo "* removing DHCP lease"
|
echo "* removing DHCP lease"
|
||||||
|
|
Loading…
Reference in New Issue