mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
14 lines
213 B
Bash
14 lines
213 B
Bash
#!/bin/sh
|
|
exec 2>&1
|
|
|
|
daemon="$(basename "${PWD}")"
|
|
|
|
if [ "${daemon}" = "staticd" ]; then
|
|
sv check zebra
|
|
elif [ "${daemon}" != "zebra" ]; then
|
|
sv check staticd
|
|
fi
|
|
|
|
[ -r conf ] && . ./conf
|
|
|
|
exec "${daemon}" $ARGS
|