Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Disable static interface on leaving Docker.
Browse files Browse the repository at this point in the history
  • Loading branch information
aentinger committed Jun 22, 2024
1 parent 1fcba78 commit 6054793
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/docker-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ function finish
echo $GPIO_NIRQ_NUM > /sys/class/gpio/unexport
echo $GPIO_NRST_NUM > /sys/class/gpio/unexport
echo $GPIO_NBOOT_NUM > /sys/class/gpio/unexport

sudo -u fio nmcli con down static
}
trap finish EXIT

Expand Down

0 comments on commit 6054793

Please sign in to comment.