dnsmanager/bin/dnsmanager-admin

11 lines
114 B
Bash
Executable File

#!/bin/sh
if [ $# -lt 1 ]
then
echo "Usage: $0 file.json"
exit 1
fi
jq .admin=true < $1 > $1.new
mv $1.new $1