void-packages/srcpkgs/smcroute/files/smcrouted/run

8 lines
148 B
Bash

#!/bin/sh
exec 2>&1
[ -r conf ] && . ./conf
# use `-N` without a conf file to not grab all interfaces by default
exec smcrouted -n -s ${OPTS:--N}