mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-22 19:46:19 +00:00
7 lines
141 B
Bash
7 lines
141 B
Bash
#!/bin/sh
|
|
if [ "$NAME" == "$NODE" ]; then
|
|
ip addr replace "$SUBNET" dev "$INTERFACE"
|
|
else
|
|
ip route replace "$SUBNET" dev "$INTERFACE"
|
|
fi
|