aboutsummaryrefslogtreecommitdiff
path: root/init.d/procfs.in
AgeCommit message (Collapse)Author
2013-02-23Fix shebangs in services to point to the correct location of runscriptAndrew Gregory
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>
2013-02-16do not use SYSCONFDIR for binfmt.dAndrew Gregory
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>
2012-07-26Bring Back prefix supportWilliam Hubbs
We now have a team member who is interested in OpenRC on prefix, so I am bringing it back to the main tree.
2012-04-16init.d/procfs: posix compatibility fixSergei Trofimovich
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
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-16Enable binfmt_misc for openvz containersWilliam Hubbs
Reported-by: Daniel Robbins <drobbins@funtoo.org> X-Gentoo-Bug: 401875 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=401875
2012-02-16Replace hard coded reference to /etc with @SYSCONFDIR@William Hubbs
I found a reference to "/etc" in the procfs script. This changes that reference to @SYSCONFDIR@.
2011-09-18procfs: simplify the binfmt_misc mount checkMike Frysinger
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>
2011-09-18procfs: drop nfsd mountingMike Frysinger
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>
2011-09-18procfs: load config files from binfmt.d into /proc/sys/fs/binfmt_misc/registerMike Frysinger
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>
2011-06-29drop useless "All rights reserved" noticeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-04-17Check for /sys/module/usbcore before modprobe usbcoreAnthony G. Basile
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>
2010-01-08random spelling fixesMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-11-04Add support for Linux Containers, fixes #202.Roy Marples
Patch by bug reporter.
2009-07-01We should use -feature instead of nofeature.Roy Marples
This matches the ifconfig and Gentoo USE flag syntax and is hopefully easier to read. Fixes #178.
2009-05-11procfs should use modules.Charlie
2009-05-01Add (c) to CopyrightRoy Marples
2009-04-27Style.Roy Marples
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-04-22Our init scripts normally output context in [ .. ]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.