aboutsummaryrefslogtreecommitdiff
path: root/runlevels/Makefile
AgeCommit message (Collapse)Author
2012-07-08Revert "Deprecate the network and staticroute scripts"William Hubbs
This reverts commit 5994e55937cbbb71b1c22ad829b77a1bcd8c3793. There are situations where these scripts can be useful, so I am bringing them back. Also, I want to start discussions about simplifying the OpenRC network stack.
2012-02-21Remove prefix supportWilliam Hubbs
I spoke with the prefix team sometime back and was told that they do not have an interest in using OpenRC on prefix systems.
2012-02-13Improve swap handlingWilliam Hubbs
Modify the swap script so it starts before and stops after localmount. Also, on linux, this script should skip mounting swap on loopback. Add a swapfiles script which runs after localmount and is designed to activate additional swap space which could not be activated before localmount was run. This includes loopback swap on linux and swapfiles which are on local file systems that were not mounted when swap was activated initially. The start code does reactivate swap that is already active, but this is not an error condition. Reported-by: Giampaolo Tomassoni <giampaolo@tomassoni.biz> X-Gentoo-Bug: 401003 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=401003
2011-12-03Integrate migrate-run into bootmiscWilliam Hubbs
The migrate-run service was hanging when parallel startup was enabled because of its dependencies. This integrates the logic for this service into bootmisc, which will avoid the issues with parallel startup. I would like to thank Robin H. Johnson <robbat2@gentoo.org> for his input on this patch
2011-11-23Migrate /var/lock and /var/run to /run for linux systemsWilliam Hubbs
2011-11-16Deprecate the network and staticroute scriptsWilliam Hubbs
These scripts are not supported, and they have several major design issues such as not being able to stop, start or allow a dependency on a single interface.
2011-10-20further clean up OS differences in makefilesMike Frysinger
No need for if() logic. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-10-19Make variable references in Makefiles consistentWilliam Hubbs
Some variable references were written as $(foo), but the majority were written as ${foo}. This commit changes all of the variable references to using braces.
2011-10-18consolodate MakefilesWilliam Hubbs
The tree contained many operating system specific Makefiles which were being included in other Makefiles. This commit removes those and adds the code to the makefiles which included them using make's conditional processing. X-Gentoo-Bug: 387441 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=387441
2009-10-16Add staticroute to the boot runlevelRoy Marples
2009-04-30Go back to gitRoy Marples
2009-04-16Add a new init script - networkRoy Marples
This simply assigns static addresses and an optional default route. It's possible to add external commands as well, so to create a bonded interface. Hopefully we can add a few examples to satisfy most of the old net.lo, which is no longer installed into boot by default.
2008-12-04make ignore now configures the sv:ignore property.Roy Marples
2008-11-03Add a new shutdown runlevel, Gentoo #224537.Roy Marples
Split halt.sh into halt, killprocs, romount and savecache services. The reboot runlevel is removed but mapped to shutdown. The halt script should be moved to the sysvinit package.
2008-10-10sysinit is now a real runlevel that handles things like udev, dmesg andRoy Marples
mounting various bits in /dev and /sys. init.sh JUST mounts /lib/rc/init.d (and /proc for Linux systems) To make development of this easier we now return an empty RC_STRINGLIST instead of a NULL for empty things. If you don't have a udev init script installed, don't reboot your box OR roll back to an older OpenRC version.
2008-03-27Tweak install of runlevels.Roy Marples
2008-03-26Check the right dir for installed scripts.Roy Marples
2008-03-25SYSCONFDIR should already be prefixed.Roy Marples
2008-03-25Rework our folder structure so that we don't have OS specific dirs, making ↵Roy Marples
it easier to share init and conf files per OS.
2008-03-24add check/test rulesMike Frysinger
2008-03-05Add tunable SYSCONFDIRRoy Marples
2008-03-03Add a gitignore make target.Roy Marples
2008-03-02Ensure that our scripts call prefixed runscript.Roy Marples
2008-03-01Fix installing into PREFIX.Roy Marples
2008-01-31Remove the over-engineered checkfs and checkroot scripts and replace with ↵Roy Marples
simple fsck, root and mtab scripts. Update dependencies accordingly.
2008-01-11Add sys.mk to define system locations.Roy Marples
2008-01-11Allow OS to define default package locations.Roy Marples
2008-01-11No point in having runlevel rules in a seperate .mk nowRoy Marples
2008-01-11Just have the one runlevels folder with OS includes.Roy Marples
2008-01-10Loads of NetBSD tweaks here.Roy Marples
2008-01-10Allow for OS and SUBOS folders so we can introduce NetBSD scripts whilst ↵Roy Marples
keeping BSD for all BSD's.
2007-12-27We no longer install rmnologinRoy Marples
2007-11-23Move /etc/conf.d/rc to /etc/rc.conf.Roy Marples
Lowercase all configurable variables, non configurations remain uppercase. Replace rc_env_bool with rc_yesno. Split localmount info procfs (Linux) and dumpon, savecore (BSD)
2007-11-20Move the runlevel foo to it's own Makefile for ease of maintainanceRoy Marples
2007-11-19Move runlevel and lib logic to the sub MakefilesRoy Marples
2007-11-19Our build chain now works with GNU and BSD make implementationsRoy Marples
2007-04-05Rewrite the core parts in C. We now provide librc so other programs canRoy Marples
query runlevels, services and state without using bash. We also provide libeinfo so other programs can easily use our informational functions. As such, we have dropped the requirement of using bash as the init script shell. We now use /bin/sh and have strived to make the scripts as portable as possible. Shells that work are bash and dash. busybox works provided you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you should disable find too. zsh and ksh do not work at this time. Networking support is currently being re-vamped also as it was heavily bash array based. As such, a new config format is available like so config_eth0="1.2.3.4/24 5.6.7.8/16" or like so config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 netmask 255.255.0.0'" We will still support the old bash array format provided that /bin/sh IS a link it bash. ChangeLog for baselayout-1 can be found in our SVN repo.