catboy/scripts/chroot-prompt.sh

8 lines
176 B
Bash
Raw Normal View History

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