ports/main/nnd-s6-services/rc/bird/run

10 lines
204 B
Plaintext
Executable File

#!/bin/execlineb -P
importas -i XDG_CONFIG_HOME XDG_CONFIG_HOME
s6-envdir -I ${XDG_CONFIG_HOME}/s6/env/bird
importas -D ${XDG_CONFIG_HOME}/bird/bird.conf CONFIG CONFIG
fdmove -c 2 1
bird -c $CONFIG -f