File: fake-pop3d.sh

package info (click to toggle)
tinydyndns 0.4.2.debian1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,392 kB
  • sloc: ansic: 10,245; sh: 291; makefile: 42
file content (12 lines) | stat: -rw-r--r-- 170 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
echo '+OK '
read input
if [ "$input" = 'LIST' ]; then
  echo '+OK'
  echo '.'
elif [ "$input" = 'STAT' ]; then
  echo '+OK 0 0'
fi
read input
echo '+OK'
exit 0