aboutsummaryrefslogtreecommitdiff
path: root/conf.d/Makefile
AgeCommit message (Collapse)Author
2017-03-09add agetty serviceWilliam Hubbs
The agetty service is an alternate way to manage gettys with agetty under Linux which is separate from an external init system.
2016-12-01split tmpfiles processing into opentmpfilesWilliam Hubbs
The openntmpfiles package is designed so that it can be used on systems independently of whether openrc is used.
2016-09-05remove swapfiles serviceWilliam Hubbs
The swapfiles service was basically a copy of the swap service, so this commit consolidates the functionality into the swap service. X-Funtoo-Bug-URL: https://bugs.funtoo.org/browse/FL-2523 X-Gentoo-Bug: 568162 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=568162
2016-07-19conf.d: makestaticroute file staticWilliam Hubbs
2016-07-19conf.d: make network file staticWilliam Hubbs
2016-07-18modules: add support for FreeBSDWilliam Hubbs
This is based on a patch submitted by Joe Maloney <pkgdemonteam@gmail.com>. This fixes #91.
2015-10-20Add net-online serviceWilliam Hubbs
2015-10-14mtab: make /etc/mtab as a file configurableWilliam Hubbs
2014-01-05devfs: add code to mount /devWilliam Hubbs
All Linux systems need /dev to be set up,so add code to devfs to do this. The process devfs follows is below. 1. If static_dev is yes, nothing is done. 2. if /dev is an entry in fstab it is mounted or remounted based on that entry. 3. If /dev is not in fstab, it attempts to mount /dev as a devtmpfs or tmpfs depending on which is defined in the kernel; devtmpfs is preferred. 4. If neither devtmpfs nor tmpfs is defined, it assumes the user wants static /dev and prints a warning. X-Gentoo-Bug: 492694 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=492694
2013-08-13Remove gentoo's net.* scriptsWilliam Hubbs
It has been determined that it will be best for gentoo's net.* scripts to be in a separate package to allow independent development. This package will be called netifrc and maintained by Gentoo.
2012-10-31Tmpfiles: create and delete entries once in the boot runlevel.William Hubbs
Initially, we were creating tmpfiles entries in the sysinit runlevel and again in the boot runlevel. Systemd runs the --create and --remove options in one service called systemd-tmpfiles-setup after the local file systems are mounted. Now we have a service called tmpfiles.setup which emulates this. This also closes the bug mentioned below, since we were originally writing to files that were on read-only file systems and that were not available. Reported-by: <devurandom@gmx.net> X-Gentoo-Bug: 439012 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439012
2012-10-25netmount: drop need net from dependenciesWilliam Hubbs
Reported-by: <mattsch@gmail.com> X-Gentoo-Bug: 439658 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439658
2012-09-26tmpfiles.d init.d scriptsRobin H. Johnson
Now that the tmpfiles.d code is more tested, actually call it from init.d. It assumes that /run is already available when it runs. Please note it runs TWICE. - During sysinit, ideally just after /dev/shm is created, but before udev has started. After udev is also acceptable, but not ideal. - During boot, ideally just after localmount has completed. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2012-07-10fix the upstream default network stackWilliam Hubbs
The OpenRC upstream default network stack was changed, but there was no reason to change it. Now since we have the MKNET build switch, it is easy for the gentoo ebuild to install oldnet by default. The upstream default is newnet.
2012-07-10add the MKNET variable to select a network stackWilliam Hubbs
The MKNET variable can be used to select the network stack you want to build and install with OpenRC. The current default is the gentoo "oldnet" stack. If you want to install the OpenRC newnet stack, use MKNET=newnet on the make command line.
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
2011-01-20change local to run programsWilliam Hubbs
This changes the local service so that it will run programs located in @sysconfdir@/local.d instead of the local_start and local_stop functions from @sysconfdir@/conf.d/local. The advantage for the user is that these programs are not part of the openrc package, so the user does not have to worry about them being overwritten when openrc is upgraded. X-Gentoo-Bug: 351465 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=351465
2010-01-08Fix BSD compile.Roy Marples
2009-12-19default route commands on Linux now require gw or via (iproute2).William Hubbs
2009-10-16Add a new staticroute init script so that .... static routes can be configured!Roy Marples
Fixes Gentoo #288421.
2009-05-05Fix compile on NetBSD and FreeBSDRoy Marples
2009-04-19Pull /etc/ifconfig.eth0 into interfacesRoy Marples
Reverse list of interfaces when stopping Improve build for conf.d/network
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-07-09Add a knob to avoid the unmounting of some points.Roy Marples
2008-03-25Include Os Makefile.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-05Add tunable SYSCONFDIRRoy Marples
2008-03-03Use exlicit make targets, not directory contents.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-11-20Introduce CONTENTS variable into Makefiles to list the contents of the ↵Roy Marples
directory, excluding the Makefile for to Make life easier
2007-11-19Our build chain now works with GNU and BSD make implementationsRoy Marples
2007-06-22calc the files to install dynamicallyMike Frysinger
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.