From d2fd9a6a25db6d2d8972ea36326454630c016034 Mon Sep 17 00:00:00 2001 From: gitea Date: Thu, 19 Oct 2023 20:14:39 +0800 Subject: [PATCH] [remove] old scripts, not using anymore --- {update => old}/macvlan.sh | 2 +- {update => old}/nc_rsync.sh | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {update => old}/macvlan.sh (90%) rename {update => old}/nc_rsync.sh (100%) diff --git a/update/macvlan.sh b/old/macvlan.sh similarity index 90% rename from update/macvlan.sh rename to old/macvlan.sh index 486608c..342734e 100644 --- a/update/macvlan.sh +++ b/old/macvlan.sh @@ -16,7 +16,7 @@ for num4 in `seq 200 254`; do [[ $? -ne 0 ]] && break done - ip link add main2wrt link enp1s0 type macvlan mode bridge +ip link add main2wrt link enp1s0 type macvlan mode bridge ip addr add $IP dev main2wrt ip link set main2wrt up ip route add 192.168.10.123 dev main2wrt diff --git a/update/nc_rsync.sh b/old/nc_rsync.sh similarity index 100% rename from update/nc_rsync.sh rename to old/nc_rsync.sh