docker_bind/run_rndc.sh

5 lines
150 B
Bash
Raw Normal View History

2023-02-25 01:37:14 +00:00
#! /bin/bash
2023-02-26 15:08:23 +00:00
[ -x "$(which docker 2>/dev/null)" ] && DOCKER=docker
[ -x "$(which podman 2>/dev/null)" ] && DOCKER=podman
$DOCKER exec bind9 rndc "$@"