commit 770fd2c73f289e66d3bc905a6fa9ea9af745ceb9 parent f9c54d8827e736856f7926a449094bc9d7c5caf6 Author: pyratebeard <root@pyratebeard.net> Date: Sat, 27 Feb 2021 21:18:13 +0000 unmount nfs volumes before trying to kill network Diffstat:
M | bin/bin/disconnect | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/bin/bin/disconnect b/bin/bin/disconnect @@ -9,6 +9,7 @@ killit() { fi } +sudo umount -a --types nfs,nfs4 sudo ip link set ${WIFI_DEV} down killit wpa_supplicant killit dhcpcd