Add files via upload

This commit is contained in:
cacggghp authored and GitHub committed 2026-01-11 04:50:03 +00:00
1 parent ef745e44bb
commit 6580f84357
7 files changed
+823 -2

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
gateway="$(ip -o -4 route show to default | awk '/via/ {print $3}' | head -1)"
while read -r remote; do
sudo ip r add $remote via $gateway
done