So last night I upgraded from 11.1 to 11.2 (RELEASE) and all went well except it got hung saying it could not merge my /etc/ttys files and told me to use vi to fix the conflicts manually. Trouble was it was not clear to me what the conflicts were. I had some of the ttys lines commented out, so I removed those, but then I noticed after boot-up I had 7 (I think it was) process called "init" sort of sitting there. I did some reading and came to the conclusion that I had duplicate but conflicting lines so I commented out the old ones. Scroll down to see below.
I'd like to replace that file with a bone stock 11.2-RELEASE file. I'm guessing I probably could just edit out the lines, but I prefer to have the file be genuinely stock, if that makes sense. Can I do this? (see below)
My /etc/ttys file currently:
I'd like to replace that file with a bone stock 11.2-RELEASE file. I'm guessing I probably could just edit out the lines, but I prefer to have the file be genuinely stock, if that makes sense. Can I do this? (see below)
cp /usr/src/etc/etc.amd64/ttys /etc/ttys
My /etc/ttys file currently:
Code:
# If console is marked "insecure", then init will ask for the root password
# when going to single-user mode.
console none unknown off secure
#
ttyv0 "/usr/libexec/getty Pc" xterm onifexists secure
# Virtual terminals
<<<<<<< current version
#ttyv1 "/usr/libexec/getty Pc" xterm on secure
#ttyv2 "/usr/libexec/getty Pc" xterm on secure
#ttyv3 "/usr/libexec/getty Pc" xterm on secure
#ttyv4 "/usr/libexec/getty Pc" xterm on secure
#ttyv5 "/usr/libexec/getty Pc" xterm on secure
#ttyv6 "/usr/libexec/getty Pc" xterm on secure
#ttyv7 "/usr/libexec/getty Pc" xterm on secure
=======
ttyv1 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv2 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv3 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv4 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv5 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv6 "/usr/libexec/getty Pc" xterm onifexists secure
ttyv7 "/usr/libexec/getty Pc" xterm onifexists secure
>>>>>>> 11.2-RELEASE
ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu0 "/usr/libexec/getty 3wire" vt100 onifconsole secure
ttyu1 "/usr/libexec/getty 3wire" vt100 onifconsole secure
ttyu2 "/usr/libexec/getty 3wire" vt100 onifconsole secure
ttyu3 "/usr/libexec/getty 3wire" vt100 onifconsole secure
# Dumb console
dcons "/usr/libexec/getty std.9600" vt100 off secure