summaryrefslogtreecommitdiff
path: root/init.d/procfs.in
Commit message (Collapse)AuthorAge
* Rename runscript to openrc-runHEADmasterWilliam Hubbs2013-12-29
| | | | | | | | | | This was requested by Debian, because the minicom software, which is available on Debian and other distros, has a binary named runscript. We are keeping a backward compatibility symlink for now, but this allows Debian or any other distro to safely remove the symlink. X-Gentoo-Bug: 494220 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=494220
* Fix shebangs in services to point to the correct location of runscriptAndrew Gregory2013-02-23
| | | | | | | | SBINDIR and BINDIR can be set independently of PREFIX. This fixes broken shebangs in service files when SBINDIR is set to something other than PREFIX/sbin Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
* do not use SYSCONFDIR for binfmt.dAndrew Gregory2013-02-16
| | | | | | | This makes binfmt.d consistent with tmpfiles.d and systemd which uses hard coded paths for both. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
* Bring Back prefix supportWilliam Hubbs2012-07-26
| | | | | We now have a team member who is interested in OpenRC on prefix, so I am bringing it back to the main tree.
* init.d/procfs: posix compatibility fixSergei Trofimovich2012-04-16
| | | | | | | | | | | | | | | | | I've noticed in at boot: # /etc/init.d/procfs restart procfs | * WARNING: you are stopping a boot service procfs |[: 308: unexpected operator Which calls $ /bin/dash -c '[ "$RC_SYS" == "OPENVZ" ] && echo "ovz" || echo "nope"' [: 1: unexpected operator nope Fixed by using '='. X-Gentoo-Bug: 412237 x-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=412237
* Remove prefix supportopenrc-0.9.9William Hubbs2012-02-21
| | | | | I spoke with the prefix team sometime back and was told that they do not have an interest in using OpenRC on prefix systems.
* Enable binfmt_misc for openvz containersWilliam Hubbs2012-02-16
| | | | | | Reported-by: Daniel Robbins <drobbins@funtoo.org> X-Gentoo-Bug: 401875 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=401875
* Replace hard coded reference to /etc with @SYSCONFDIR@William Hubbs2012-02-16
| | | | | I found a reference to "/etc" in the procfs script. This changes that reference to @SYSCONFDIR@.
* procfs: simplify the binfmt_misc mount checkMike Frysinger2011-09-18
| | | | | | | Replace the `mountinfo` exec with a file test of the register file which we rely on later anyways. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* procfs: drop nfsd mountingMike Frysinger2011-09-18
| | | | | | | | | The dedicated nfs init.d script takes care of mounting this when necessary, and we want it there since mounting it isn't terribly useful if you can't actually start up the nfs daemons (which the nfs-utils package provides). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* procfs: load config files from binfmt.d into /proc/sys/fs/binfmt_misc/registerMike Frysinger2011-09-18
| | | | | | | | | This is a KISS version. Let's see where we go from here in terms of complexity. Maybe nowhere! X-Gentoo-Bug: 382723 X-Gentoo-Bug-URL: https://bugs.gentoo.org/382723 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* drop useless "All rights reserved" noticeMike Frysinger2011-06-29
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Check for /sys/module/usbcore before modprobe usbcoreAnthony G. Basile2011-04-17
| | | | | | | | | | | The use of /proc/bus/usb to mount usbfs has been deprecated, but the option is still available in the kernel. The new approach is to use /sys. We should not modprobe usbcore if either /proc/bus/usb or /sys/module/usbcore exist. X-Gentoo-Bug: 363551 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=363551 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
* random spelling fixesMike Frysinger2010-01-08
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Add support for Linux Containers, fixes #202.Roy Marples2009-11-04
| | | | Patch by bug reporter.
* We should use -feature instead of nofeature.Roy Marples2009-07-01
| | | | | | This matches the ifconfig and Gentoo USE flag syntax and is hopefully easier to read. Fixes #178.
* procfs should use modules.Charlie2009-05-11
|
* Add (c) to CopyrightRoy Marples2009-05-01
|
* Style.Roy Marples2009-04-27
|
* sysinit is now a real runlevel that handles things like udev, dmesg andRoy Marples2008-10-10
| | | | | | | | | | | 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.
* Our init scripts normally output context in [ .. ]Roy Marples2008-04-22
|
* Rework our folder structure so that we don't have OS specific dirs, making ↵Roy Marples2008-03-25
it easier to share init and conf files per OS.