summaryrefslogtreecommitdiffstats
path: root/net/dawn/test-version.sh
blob: cc085db7b8dfe06c47d59e65ad7879b46829da57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

# shellcheck shell=busybox

case "$1" in
	dawn)
		# dawn has no version flag and daemonizes when run; just
		# verify the binary is present
		[ -x /usr/sbin/dawn ] || exit 1
		;;

	*)
		echo "Untested package: $1" >&2
		exit 1
		;;
esac