summaryrefslogtreecommitdiff
path: root/init.d
Commit message (Collapse)AuthorAgeFilesLines
* init.d/autoconfig: allow nogui in addition to noxBen Kohler2024-02-271-0/+3
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* init.d/fixinittab: auto-enable arm64 ttyAMA0 console2.10Georgy Yakovlev2021-07-281-1/+2
| | | | | | | | | | | | | | | | our sysvinit package adds the following line in /etc/inittab on arm64: f0:12345:respawn:/sbin/agetty 9600 ttyAMA0 vt100 adjust fixinittab to comment out that entry, and automatically configure console on ttyAMA0 with proper baud rate returned by stty. if the line is left uncommented init will spawn a reular login on that console, that may conflict with console= option user passed. if the user passes console=***, automatic configuration is omitted. Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* autoconfig: mostly revert "Fix logic error"2.9Ben Kohler2021-02-251-1/+1
| | | | | | | | This particular piece of logic was correct already, having been reworked a few times since the original bug report about it. The intent is to kill existing an existing dhcpcd instance if the pidfile is found. Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* unmute: Rewrite without awk2.8Matt Turner2020-11-051-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* autoconfig: Fix logic error2.7Matt Turner2020-11-051-2/+2
| | | | | | | | | When the system starts, the PID file will not exist because we haven't started dhcpcd. Also update /var/run -> /run while we're here. Closes: https://bugs.gentoo.org/198083 Closes: https://bugs.gentoo.org/439912 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* autoconfig: don't autostart gpm if /dev/input/mice is not presentGeorgy Yakovlev2020-11-051-1/+4
| | | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Signed-off-by: Matt Turner <mattst88@gmail.com>
* remove hwsetup usageGeorgy Yakovlev2020-11-052-33/+2
| | | | | | | | | it requires beyond ancient libkudzu and mostly obsoleted by udev. also libkudzu no longer builds on stable glibc-2.32 (bug 713946) Bug: https://bugs.gentoo.org/408535 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Signed-off-by: Matt Turner <mattst88@gmail.com>
* remove special mouse handling and pre-gpm scriptGeorgy Yakovlev2020-11-052-42/+0
| | | | | | | | | | | | | | | | | nowadays mice are available via /dev/input/mice, which gpm defaults to open at startup. INPUT_MOUSEDEV description: Say Y here if you want your mouse to be accessible as char devices 13:32+ - /dev/input/mouseX and 13:63 - /dev/input/mice as an emulated IntelliMouse Explorer PS/2 mouse. That way, all user space programs (including SVGAlib, GPM and X) will be able to use your mouse. The data available through /dev/psaux is exactly the same as the data from /dev/input/mice. Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Signed-off-by: Matt Turner <mattst88@gmail.com>
* save a grep and a countRick Farina (Zero_Chaos)2020-04-231-1/+1
| | | | | | coreutils has a whole utility just to tell you the cpu count, use it Signed-off-by: Rick Farina (Zero_Chaos) <zerochaos@gentoo.org>
* move secureconsole boot arg detection to the right placeRick Farina (Zero_Chaos)2019-09-261-6/+0
|
* fixinittab: Support SPARC's ttyHV0 console device2.6Matt Turner2019-09-191-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* fixinittab: Refactor HW-specific serial console supportMatt Turner2019-09-191-9/+19
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* ppc: Move the hvc0 console logic outside2.5Luca Barbato2018-09-131-10/+10
| | | | | Make so also ppc64le is supported and allow to override its configuration by specifying another console as kernel param.
* remove redundant agetty settingsRick Farina (Zero_Chaos)2018-08-241-1/+1
| | | | | | | agetty baud rate doesn't matter on linux vt and is ignored per manual agetty term type is default set to linux on vt per manual thanks to grknight for pointing it out
* fix typos, reenable remaining vt (no autologin)2.4Rick Farina (Zero_Chaos)2018-03-151-1/+5
|
* add some comments when writing make.confRick Farina (Zero_Chaos)2018-03-151-3/+9
| | | | decrease ambiguity with some comments
* add secureconsole boot optionRick Farina (Zero_Chaos)2018-03-151-4/+14
| | | | don't log in every console if the user requests secureconsole
* autoconfig: fix the indentationWilliam Hubbs2018-03-141-11/+12
|
* update make.conf with some nice defaults for emergeRick Farina (Zero_Chaos)2018-03-141-3/+20
| | | | just for fun, try to sane up the EMERGE_DEFAULT_OPTS for livecd users
* log in as user when possibleRick Farina (Zero_Chaos)2017-08-281-3/+3
| | | | | catalyst can create a user, if the cd is built like that it wasn't an accident, use that user to log in instead of root
* autoconfig: EVMS is long dead.2.3Robin H. Johnson2017-02-241-7/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* autoconfig: protect password in /proc/cmdline.Robin H. Johnson2017-02-241-0/+1
| | | | | | | | | | | | | | If passing a root password in /proc/cmdline, we should protect /proc/cmdline from non-root users. If root mounts a NEW /proc fileystem, this will be exposed again, but that's out of our control. The kernel boot parameter hidepid= only affects /proc/$PID/cmdline, so cannot be used in this case. Fixes: https://bugs.gentoo.org/show_bug.cgi?id=610840 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* convert shebangs from runscript to openrc-run2.2William Hubbs2016-07-085-5/+5
|
* Replace nfsmount with nfsclient2.1Rick Farina (Zero_Chaos)2015-12-111-1/+1
| | | | | nfsmount is deprecated and partially replaced by nfsclient...but should we also add netmount?
* Allow nfs to be activated from the kernel command lineRick Farina (Zero_Chaos)2015-12-111-0/+3
|
* no more arrays in conf.d/netRick Farina (Zero_Chaos)2015-11-011-1/+1
|
* remove execute permissions from most filesWilliam Hubbs2015-01-145-0/+0
| | | | | All of the files in init.d and conf.d in this repository do not need execute permissions.
* remove firmware init script2.0.4Rick Farina (Zero_Chaos)2014-05-223-30/+1
| | | | | | The tarballing and subsequent unpacking of the firmware has been a source of issues which are being eliminated. Bugs 511040, 498986, plus probably some more.
* fixinittab: Do not overwrite an existing backupRichard Farina2013-07-051-1/+4
|
* autoconfig: update network device name recognissionWilliam Hubbs2013-06-191-1/+12
| | | | | | | | | | | | The previous code assumed the old style network names such as eth* were the names of interfaces. With the new udev, this is not always the case, so this updates autoconfig to ignore lo and sit0 and assume that the rest are valid network interfaces. Also we now use /sys/class/net/* to detect interfaces instead of /proc/dev/net. Reported-by: alexeyk13@yandex.ru X-Gentoo-Bug: 471054 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=471054
* autoconfig: run one instance of dhcpcdWilliam Hubbs2013-01-031-14/+8
| | | | | | | | One instance of dhcpcd in standalone mode can control all detected interfaces. This should automatically get an address for any network where there is an active dhcp server. This will also fix bug #439912.
* use agetty's autologin function instead of bashloginlivecd-tools-2.0.3William Hubbs2012-10-101-5/+5
| | | | | X-Gentoo-Bug: 392685 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=392685
* gpm-pre: fix sourcing of hwsetup settingsWilliam Hubbs2012-10-031-4/+6
| | | | | | | | | Source the files only if they exist. Also, warn if a mouse was not detected. The gpm init script already detects if a mouse isn't configured and refuses to start, which is what we want. X-Gentoo-Bug: 408533 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=408533
* further cosmetic cleanupslivecd-tools-2.0.2William Hubbs2011-10-245-9/+22
| | | | | | | | | There were several einfo calls which ended with "...". These have been converted to ebegins and appropriate eend, eindent and eoutdent calls were inserted. X-Gentoo-Bug: 388401 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=388401
* remove spindWilliam Hubbs2011-10-241-17/+0
| | | | | | | | There is really no reason that we are sure of that we need spind, so I am removing it from livecd-tools. X-Gentoo-Bug: 388087 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=388087
* Applied Fernando V. Orocu (likewhoa) patch to fix cosmetic issues with e* ↵Jorge Manuel B. S. Vicetto (jmbsvicetto)2011-09-195-8/+8
| | | | functions - fixes bug 379821.
* update fixinittab to use mingetty for consolesWilliam Hubbs2011-06-301-1/+1
|
* Revert "modify the fixinittab service to allow autologin on the consoles"William Hubbs2011-06-301-8/+8
| | | | This reverts commit f5a0172d4c65049d5bb86c770d5cb52b324d77e3.
* modify the fixinittab service to allow autologin on the consolesWilliam Hubbs2011-06-281-8/+8
| | | | I would like to thank jmbsvicetto@gentoo.org for this patch.
* Revert "modify the fixinittab service to allow autologin on the consoles"William Hubbs2011-06-281-8/+8
| | | | This reverts commit f8014344d03a553418b3f5153c3c3cebc2ca131b.
* modify the fixinittab service to allow autologin on the consolesWilliam Hubbs2011-06-281-8/+8
|
* create defaults file for autoconfigWilliam Hubbs2011-06-231-40/+12
| | | | | | This moves the initial default settings for the flags used by autoconfig to a separate file and re-arranges some of the functions in the autoconfig script itself.
* comment out the ttyB0 line in inittablivecd-tools-2.0William Hubbs2011-04-301-0/+1
| | | | I would like to thank gmsoft for this patch.
* stop xdm if X11 is not requestedFernando Orocu2011-04-301-1/+2
| | | | | Xdm is being started very early in the boot sequence, before autoconfig, so we need to stop it if the user doesn't want X11.
* add check to be sure splash is only reset for speakup usersWilliam Hubbs2011-04-301-3/+7
|
* reset splash to verbose mode for speakup usersWilliam Hubbs2011-04-301-0/+3
|
* fix udevtrigger callWilliam Hubbs2011-04-301-1/+1
| | | | The udevtrigger program has been replaced with udevadm.
* split out firmware extraction and hwsetupWilliam Hubbs2011-04-303-25/+41
| | | | Firmware extraction and hwsetup are now separate services.
* start gpm-pre before gpm from autoconfigWilliam Hubbs2011-04-302-5/+1
|
* add a message so we know autoconfig has startedWilliam Hubbs2011-04-301-0/+1
|