1 2 3 4 5 6 7 8 9 10 11 12 13
#!/usr/bin/env sh cd /usr/lib/atproto-pdsadmin cmd="$1" shift if [ "${cmd#*/}" != "$cmd" ] || [ ! -f "$cmd.sh" ]; then ./help.sh exit 1 fi exec "./$cmd.sh" "$@"