From b4463015b97912658d630377fafbf630f7588d1e Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Wed, 21 May 2025 22:01:35 -0500 Subject: moving arch dotfiles into archsetup --- dotfiles/system/.local/bin/bsdnet_bounce | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 dotfiles/system/.local/bin/bsdnet_bounce (limited to 'dotfiles/system/.local/bin/bsdnet_bounce') diff --git a/dotfiles/system/.local/bin/bsdnet_bounce b/dotfiles/system/.local/bin/bsdnet_bounce new file mode 100755 index 0000000..e4eec08 --- /dev/null +++ b/dotfiles/system/.local/bin/bsdnet_bounce @@ -0,0 +1,6 @@ +if [ $(id -u) -eq 0 ] +then + service netif restart && service routing restart +else + echo "You must be root to run this script" +fi -- cgit v1.2.3