diff --git a/cmake_targets/tools/make_agent_cache b/cmake_targets/tools/make_agent_cache deleted file mode 100755 index d2eab20fc0..0000000000 --- a/cmake_targets/tools/make_agent_cache +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env bash - -CACHE_DIR=/mnt/oai_agent_cache - -if [ ! -d $CACHE_DIR ]; then - echo "Creating cache dir in $CACHE_DIR" - sudo mkdir $CACHE_DIR -fi - -if grep -qs "$CACHE_DIR" /proc/mounts; then - echo "Agent cache is already mounted" -else - echo "Agent cache was not mounted" - echo "Mounting..." - sudo mount -o size=100m -t tmpfs none "$CACHE_DIR" - if [ $? -eq 0 ]; then - echo "Mount success" - else - echo "Something went wrong with the mount" - fi -fi diff --git a/cmake_targets/tools/setup_routes.sh b/cmake_targets/tools/setup_routes.sh deleted file mode 100755 index 67fe250be7..0000000000 --- a/cmake_targets/tools/setup_routes.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -for i in $(seq 1 $1); -do - let table=1000+$i - echo "sudo ip route add 10.0.1.0/24 dev oaitun_ue$i table $table" - sudo ip route add 10.0.1.0/24 dev oaitun_ue$i table $table - echo "sudo ip route add default via 10.0.1.1 dev oaitun_ue$i table $table" - sudo ip route add default via 10.0.1.1 dev oaitun_ue$i table $table - let octet=$i+1 - echo "sudo ip rule add from 10.0.1.$octet table $table" - sudo ip rule add from 10.0.1.$octet table $table -done