aboutsummaryrefslogtreecommitdiff
path: root/release/rc.local
Commit message (Collapse)AuthorAgeFilesLines
* bsdinstall release: Start installer on multiple consolesJessica Clarke2022-10-031-2/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the installer is only started on the primary ("high level") console. For systems where this is the video console and serial consoles aren't of interest, and headless systems with just a serial console, this works just fine, but for systems where both video and serial consoles are present and meaningful this requires the user to select the right primary console in loader, with the poor user experience of the system appearing to hang if they leave the wrong one selected. This notably differs from our multi-user behaviour of spawning getty on every console, where the only issue with selecting the wrong primary console is a quieter boot process until the login prompt appears (or the system crashes). Instead, use the newly-added runconsoles helper to run the installer on every console (except for ttyv*, where only ttyv0 will be used). For interactive installations, any of the consoles can be used, though only one should be used at a time as no effort is made to avoid multiple installations running at the same time clobbering each other. If the Live CD option is selected, the other installers (which should, if the user is well-behaved, be sitting at the welcome screen) will be killed. If an automated install is in use, the primary console will be used to display its output, and the others will direct the user to the primary console. Reviewed by: brooks, gjb Differential Revision: https://reviews.freebsd.org/D36805
* bsdinstall release: Move code to a new startbsdinstall wrapperJessica Clarke2022-10-031-95/+1
| | | | | | | | | | This separates out the install media-specific environment (creating bsdinstall_etc) from actually running the installer on a given console. This will be used by a future change to start the installer on multiple consoles. Reviewed by: brooks, gjb Differential Revision: https://reviews.freebsd.org/D36803
* release: Remove remnants of pc98 supportJessica Clarke2022-10-031-3/+0
| | | | | | | | | | | | | | | The cons25w line was added in c991a6474749 for pc98, along with reading MACHINE in order to determine what terminal type to use for VTYs. Commit 2b375b4edd1b removed this condition, leaving it as always using xterm for VTYs, but left behind the now-unused MACHINE variable and the cons25w list entry. Clean these up to be how they were before pc98 support was added. Note that anyone who really needs a cons25w terminal can still request it, it's just not listed as a common option. Reviewed by: imp, brooks Differential Revision: https://reviews.freebsd.org/D36587
* release/rc.local: Provide option to shutdown after installation completeBen Woods2022-09-171-1/+13
| | | | | | | | | | This can be useful instead of reboot if installing in a virtual machine, and the user wants to modify the VM hardware or virtual media mounts prior to booting into the newly installed system. Reported by: Juan Manuel Palacios (@jmp_imaginarium on Twitter) Approved by: philip Differential Revision: https://reviews.freebsd.org/D36560
* release: Use full window size for installer over serial linesJessica Clarke2022-05-051-0/+3
| | | | | | | | | | | | When running over a serial line we end up defaulting to 80x24, which is rather cramped for many dialog boxes and occupies very little screen space for most modern terminals. Thus, run resizewin -z to set the terminal size if not already known before starting the installer, just as we do for csh and sh login shells already in their default dotfiles. Reviewed by: jhb, gjb Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D34414
* release/rc.local: Replace dialog with bsddialogAlfonso S. Siciliano2022-03-291-13/+13
| | | | | | | Replace (LGPL) dialog utility with (BSD-2-Clause) bsddialog utility. Approved by: bapt (mentor) Differential Revision: https://reviews.freebsd.org/D34678
* Remove pc98 support completely.Yoshihiro Takahashi2017-01-281-5/+1
| | | | | | | | | I thank all developers and contributors for pc98. Relnotes: yes Notes: svn path=/head/; revision=312910
* Create /tmp/bsdinstall_etc even if we aren't starting the installer so thatNathan Whitehorn2014-09-131-0/+3
| | | | | | | | | | dhclient can write resolv.conf when used from the live environment. PR: 176078 MFC after: 3 days Notes: svn path=/head/; revision=271549
* Move the installer's keymap solution introduced by SVN r259468. The newDevin Teske2013-12-211-0/+4
| | | | | | | | | | | location of /etc/rc.local on the install media is more appropriate as it knows serial vs. non-serial and can also do the change earlier (so that even the initial Install dialog can benefit from the change). MFC after: 3 days Notes: svn path=/head/; revision=259686
* Fix typo and simplify condition.Nathan Whitehorn2013-01-211-2/+1
| | | | | | | Submitted by: Christoph Mallon <christoph dot mallon at gmx dot de> Notes: svn path=/head/; revision=245742
* More automated install support: if a script exists at /etc/installerconfig,Nathan Whitehorn2013-01-211-0/+11
| | | | | | | | point the installer there and then reboot without asking questions. This design subject to future change. Notes: svn path=/head/; revision=245706
* - Set TERM to cons25w on pc98 because we still use old cons25w terminalYoshihiro Takahashi2012-02-071-1/+8
| | | | | | | | | | | to show Japanese. - Add cons25w to terminal lists. Reviewed by: nwhitehorn MFC after: 1 week Notes: svn path=/head/; revision=231123
* Fix installation script after r230482 -- a missing character apparently.Nathan Whitehorn2012-02-041-1/+1
| | | | | | | Now, back to convalescing. Notes: svn path=/head/; revision=230997
* Part of r230482 didn't actually work. Revert it for now. This means PRNathan Whitehorn2012-01-231-2/+0
| | | | | | | | | 161047 isn't actually fixed. PR: bin/161047 Notes: svn path=/head/; revision=230484
* Do a test in a better way. Editing files after testing them is never wise.Nathan Whitehorn2012-01-231-1/+1
| | | | Notes: svn path=/head/; revision=230483
* Per popular demand, if installing from a graphics terminal, run theNathan Whitehorn2012-01-231-1/+12
| | | | | | | | | | | installer on a VTY with no kernel messages (VTY 2), show the installer log in real time on VTY 3, and spawn a shell on VTY 4. PR: bin/161047, bin/161048 MFC after: 2 weeks Notes: svn path=/head/; revision=230482
* Inquire about terminal type if starting from a serial console and doNathan Whitehorn2011-09-171-2/+26
| | | | | | | | | | | | not configure the host's networking if netbooted [1]. Also fix FTP installations behind some firewalls [2]. PR: bin/159583 [2] Reported by: stas [1] Approved by: re (kib) Notes: svn path=/head/; revision=225637
* Allow the user to use the live environment post-installation, as wellNathan Whitehorn2011-04-091-2/+5
| | | | | | | as improving error handling. Notes: svn path=/head/; revision=220500
* Add additional release makefile for bsdinstall-based media, along withNathan Whitehorn2011-03-021-0/+33
support files. This does not change the default behavior of anything. To make bsdinstall-based media, pre-build world and GENERIC, then run the release target in Makefile.bsdinstall. Notes: svn path=/head/; revision=219181