aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
Commit message (Collapse)AuthorAgeFilesLines
* Typos reported by "rhubarbpieguy"Pierre Labastie2022-10-027-8/+8
|
* init.d/swap: you can't mount a swap partitionXi Ruoyao2022-09-251-2/+2
|
* Adjust instructions for /dev/shm when creating virtual filesystems.Bruce Dubbs2022-09-202-3/+8
| | | | | | | | | | Some host create /dev/shm as a tmpfs. Some have is as a symlink to a location in another directory. This change handles both cases. The change to the sysV bootscripts now creates /dev/shm as a separate tmpfs from /run. This makes LFS sysV and systemd versions treat /dev/shm the same.
* Replace tabs with spacesPierre Labastie2022-09-112-15/+15
|
* Mark raid array as clean at shutdownThomas Trepl (Moody)2022-07-232-0/+10
|
* bootscripts: change obsoleted egrep to grep -EXi Ruoyao2022-06-232-2/+2
|
* Fix a stupid typo in bootscripts/MakefilePierre Labastie2022-03-271-4/+4
| | | | copy/paste error rc0.d -> rc6.d. Brown paperbag commit...
* Update bootscripts/ChangeLog for recent changesPierre Labastie2022-03-251-0/+5
|
* network bootscript: Don't run ifup if route already setPierre Labastie2022-03-251-0/+2
| | | | | | | Otherwise, warnings are issued when changing runlevel. "ip route" is a good test of whether network is already up. If users want to change some config, they should use ifup/down, not the network bootscript.
* New semantics for S/K files in boot scriptsPierre Labastie2022-03-252-7/+15
| | | | | | | Now start and reboot should be called as "script start", and they should be the last in their runlevel. Note that install_initd needs to be patched for this to work; see https://github.com/lfs-book/LSB-Tools/pull/12
* Fix Makefile for new semantics of S/K symlinksPierre Labastie2022-03-251-8/+8
| | | | | In runlevel 0/6, services which must be stopped should be with Kxx symlinks
* Adapt template to new semantics of S/K symlinksPierre Labastie2022-03-251-0/+14
|
* Change semantics of S and K filesPierre Labastie2022-03-251-35/+26
| | | | | | | | | | | | | | | | | | | | | | | | | Presently, there are a lot of special cases: - runlevel 0 and 6 unconditionally run "script stop" if they find a Kxxscript symlink. This may lead to trying to stop an already stopped device if for example switching to runlevel 0/6 from runlevel 1. This can be fixed by stating the convention that it is the responsability of scripts to check that the service is running before killing it (or not running before starting it). Still, we shouldn't try to stop a service if it was marked K in the previous runlevel. And same for S files: we shouldn't try to start a service that was marked S in the previous runlevel. Note that changing runlevel is not a "reset": if a user has manually changed the state of a daemon, this state will remain the same upon changing runlevel if the S/K status of that dameon is the same in both runlevels. - Sxxscript symlinks in runlevel 0/6 are run as "script stop" instead of the more intuitive "script start". This does not interact well with LSB-tools (some scripts would need "Default-Start: S 0 6" but then it is impossible to get correct "Required-Start" or "Should-Start" fields). Furthermore, having a counter-intuitive behavior is error prone. So now runlevel 0/6 will run "script sart" for a Sxxscript.
* Do not redefine is_true in the console scriptPierre Labastie2022-03-251-5/+0
| | | | There is a better version in init-functions
* Make runlevel 2 equivalent to 3 by default: MakefilePierre Labastie2022-03-251-2/+2
|
* Make runlevel 2 equivalent to 3 by default: networkPierre Labastie2022-03-251-2/+2
|
* Make runlevel 2 equivalent to 3 by default: sysklogdPierre Labastie2022-03-251-5/+2
|
* Typo in init-functionsPierre Labastie2022-03-251-1/+1
|
* Update comments in the mountvirtfs booscriptPierre Labastie2022-03-221-3/+5
| | | | | | Since the kernel can mount /dev if given the proper config parameter, and we tell users to set this parameter when building the kernel, this should be mentioned in the script
* Fix email addresses for bug report in bootscriptsPierre Labastie2022-03-172-2/+2
|
* Remove spaces at end of lines - bootscriptsPierre Labastie2021-09-0720-142/+141
|
* Make stopping the network interfaces more robust.Bruce Dubbs2021-06-082-9/+14
| | | | | | | | | | | SysV only. When stopping or rebooting the system, the network boot script is run and looks at all the /etc/sysconfig/ifconfig.* files. Some of the devices these files refer to may not be active or even refer to interfaces that are not defined on the current system. This change ignores non-existant interfaces and any interfaces that are not UP. This change also avoids bogus warning or error error messages when the system is shutting down.
* Update chglog and bootscript versionThomas Trepl (Moody)2021-06-021-0/+3
|
* Avoid killing mdmon at shutdown/rebootThomas Trepl (Moody)2021-06-021-2/+5
|
* Add manual locales needed for tests if using alternate locale installationBruce Dubbs2021-04-282-6/+18
| | | | | | instructions. Minor changes to boot scripts.
* Update to bc-3.2.6. Bruce Dubbs2021-02-022-1/+5
| | | | | | | | | Update to glibc-2.33. Minor change to mountfs boot script. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12109 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* use /run for runtime state directoriesXi Ruoyao2021-01-134-14/+17
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12093 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* make a Should-Stop dependency of swap to allow clean installDJ Lucas2020-10-022-2/+5
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12052 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Fix spacing in checkfs after DJ's modificationPierre Labastie2020-08-171-1/+1
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12026 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Move $syslog to Should-Start for the network bootscript, ensure checkfs ↵DJ Lucas2020-08-172-6/+6
| | | | | | bootscript runs after swap. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12025 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Update to gettext-0.21. Bruce Dubbs2020-08-042-1/+4
| | | | | | | | | | | | | | Update to binutils-2.35. Update to gcc-10.2.0. Update to check-0.15.1. Update to bison-3.7.1. Update to util-linux 2.36.0. Update to libcap-2.42. Update to linux-5.7.12. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12007 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Remove errant swap dependency for checkfsDJ Lucas2019-10-312-1/+2
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11694 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Syslog should not start in runlevel 2 due to network loggingDJ Lucas2019-10-312-2/+5
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11692 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Network script depends on firewall scripts from BLFS if activated.DJ Lucas2019-10-042-3/+4
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11683 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Additional updates to facilities in LSB headers.DJ Lucas2019-10-044-3/+6
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11682 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Fix bootscript headers.DJ Lucas2019-09-086-10/+10
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11670 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Update to LFS-Bootscripts-20190902DJ Lucas2019-09-0211-15/+18
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11666 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Cosmetic changes to LFS bootscripts.Bruce Dubbs2019-05-244-26/+32
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11610 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Tweak the MakefileBruce Dubbs2018-08-211-0/+2
| | | | | | | Minor change to mountfs boot script when stopping. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11455 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Use correct switch in mountfs scriptBruce Dubbs2017-06-261-1/+1
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11262 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Remove section disussing configuration without a network card.Bruce Dubbs2017-06-243-4/+12
| | | | | | | | Update boot scripts to unmount network file systems before bringing down the network. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11260 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Update to lfs-bootscripts-20170825. Fix a scope issue in the rc script. ↵DJ Lucas2017-03-253-2/+15
| | | | | | Thanks to quesker in #lfs-support for the report and subsequent testing. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11210 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Update formats of error messages in checkfs boot script. Bruce Dubbs2017-03-181-6/+6
| | | | | | | | | | | Update to man-pages-4.10. Update to linux-4.10.3. Update to gdbm-1.13. Update to coreutils-8.27. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11209 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Revise version-check.sh to flag bad /bin/sh symlinksBruce Dubbs2015-10-251-2/+2
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10967 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Cosmetic changes to output messages by network boot scripts.Bruce Dubbs2015-02-225-28/+51
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10858 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Update ifup and ipv4-static to better support multiple IP addressesBruce Dubbs2015-02-084-2/+17
| | | | | | | on an interface. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10838 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Update to linix-3.18.1. Bruce Dubbs2014-12-252-2/+8
| | | | | | | | | Update to xz-5.2.0. Update to binutils-2.25. Update comments for sysklogd boot script. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10808 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Update to linux-3.17.4Bruce Dubbs2014-11-241-3/+2
| | | | | | | | Update to kmod-19 Update to grep-2.21 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10795 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Change default permissions for /run/lock to 1777Bruce Dubbs2014-11-112-1/+4
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10792 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* network is case-sensitiveChris Staub2014-10-251-1/+1
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10781 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689