/usr/share/faumachine/experiments/test-usb-to-serial/03generate is in faumachine-data 20120707-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #
# $Id: 03generate,v 1.1 2009-02-19 12:05:25 potyra Exp $
#
wait_asc boot: 10min
type "knoppix 3 vga=normal nopcmcia nofirewire noaudio nodhcp\0d"
wait_asc INIT: Entering runlevel: 3 10min
wait_asc root@tty1[/]# 10min
type "clear\0dlspci\0d"
wait_asc USB Controller: Intel Corp. 82371AB 10min
type "clear\0dlsusb\0d"
wait_asc ID 067b:2303 Prolific Technology, Inc. 10min
type "modprobe pl2303\0d"
type "dmesg | tail | fgrep -i USB\0d"
wait_asc usb 1-1: PL-2303 converter now attached to ttyUSB0 10min
type "echo ttyUSB0 >> /etc/securetty\0d"
type "echo SU:23:respawn:/sbin/getty -L ttyUSB0 38400 vt102 >> /etc/inittab\0d"
type "kill -HUP 1\0d"
type "passwd\0d"
wait_asc Enter new UNIX password: 10min
type "faumachine\0dfaumachine\0d"
|