summary refs log tree commit diff
path: root/scripts/chroot-prompt.sh
blob: 9adff952368c29a007ddb9bf72992b464cff24da (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh
set -eu

printf 'Name: '
read -r nick rest
printf '%s %s\n' "$nick" "${SSH_CLIENT:-}" >>nicks.log
exec catgirl -n "$nick" -s "$nick" "$@"