mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-01-19 14:12:08 +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
|