#!/bin/bash # OpenWRT PXE network IF_NAME=eth1 ip a add 192.168.1.10 dev $IF_NAME ip l s $IF_NAME up ip route add 192.168.1.0/24 dev $IF_NAME