New tool, to give admin status to a user: dnsmanager-admin
parent
d1f890f869
commit
5ba3bb2559
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ $# -lt 1 ]
|
||||
then
|
||||
echo "Usage: $0 file.json"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
jq .admin=true < $1 > $1.new
|
||||
mv $1.new $1
|
Loading…
Reference in New Issue