0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-01-19 14:12:08 +00:00
2018-03-25 20:20:07 +02:00

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