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

7 lines
138 B
Bash
Executable File

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