catgirl/scripts/chroot-prompt.sh

8 lines
148 B
Bash
Raw Normal View History

2020-02-12 03:07:01 +00:00
#!/bin/sh
set -eu
printf 'Name: '
read -r nick rest
printf '%s %s\n' "$nick" "${SSH_CLIENT:-}" >>nicks.log
2020-02-12 03:07:01 +00:00
exec catgirl -n "$nick" -s "$nick" "$@"