Source code pulled from OpenBSD for OpenNTPD. The place to contribute to this code is via the OpenBSD CVS tree.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.1 KiB

  1. #! /bin/sh
  2. #
  3. # $OpenBSD: ttys.pty,v 1.6 2014/07/16 14:34:33 okan Exp $
  4. #
  5. # Copyright (c) 2004 Dale Rahn <drahn@openbsd.org>
  6. #
  7. # Permission to use, copy, modify, and distribute this software for any
  8. # purpose with or without fee is hereby granted, provided that the above
  9. # copyright notice and this permission notice appear in all copies.
  10. #
  11. # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  12. # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  13. # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  14. # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  15. # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  16. # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  17. # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  18. letters="p q r s t u v w x y z P Q R S T"
  19. suffixes="0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q \
  20. r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z"
  21. for i in ${letters}; do
  22. for j in ${suffixes}; do
  23. echo "tty${i}${j} none network"
  24. done
  25. done