blob: f3992b1d372eb73c5f9c9dbd3f2dfad01ee7bf35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
# shellcheck shell=busybox
case "$PKG_NAME" in
nsd|nsd-nossl)
nsd -v 2>&1 | grep -F "$PKG_VERSION" &&
nsd-checkconf -h 2>&1 | grep -F "$PKG_VERSION"
;;
nsd-control)
nsd-control -h 2>&1 | grep -F "$PKG_VERSION"
;;
nsd-control-setup)
# Shell script without version information
exit 0
;;
*)
echo "Untested package: $PKG_NAME" >&2
exit 1
;;
esac
|