From 59a7ca9de58f8711c4812f593420b427873d5147 Mon Sep 17 00:00:00 2001 From: Peter McGoron Date: Wed, 14 Jun 2023 15:27:34 -0400 Subject: [PATCH] remove setup_client.sh --- doc/setup_client.sh | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 doc/setup_client.sh diff --git a/doc/setup_client.sh b/doc/setup_client.sh deleted file mode 100755 index 40e5c9a..0000000 --- a/doc/setup_client.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -if [ $(id -u) != 0 ]; then - echo 'script must be run as root' - exit 1 -fi - -INTER="$1" -BINARY="$(realpath $2)" - -ip link set "$INTER" up -ip addr add 192.168.1.100/24 dev "$INTER" -BOOTDIR=$(mktemp -d) -cp "$BINARY" "$BOOTDIR"/boot.bin -cd "$BOOTDIR" - -dnsmasq -d --port=0 --enable-tftp --tftp-root="$BOOTDIR" --user=root --group=root --interface="$INTER"