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

13 lines
181 B
Plaintext

#!/bin/execlineb -P
s6-envdir -i /etc/s6/env/path
importas -i PATH PATH
emptyenv
export PATH $PATH
define INTERFACE eth0
fdclose 1
fdclose 2
exec ip link set dev ${INTERFACE} up