Files
jerikan-network-cmdb/checks/linux-bird
T
Vincent Bernat d191613ab8 Initial release
No history. If you have the original history, you can use:

```
git replace THISCOMMIT b0b998bd1c651e308ac71a9158e07e5c3521a281
```
2021-05-15 16:18:03 +02:00

12 lines
267 B
Bash
Executable File

#!/bin/sh
conf=$(mktemp)
trap "rm -f $conf" EXIT
(
grep -qFx "table public;" output/"$1"/bird.conf || echo "table public;"
grep -qFx "table private;" output/"$1"/bird.conf || echo "table private;"
cat output/"$1"/bird.conf
) > $conf
bird -d -p -c $conf