ports/main/nnd-s6-services/rc/interface.eth0.link/down

6 lines
116 B
Plaintext

#!/bin/execlineb -P
s6-envdir -i /etc/s6/env/path
emptyenv -p
define INTERFACE eth0
ip link set dev $INTERFACE down