aboutsummaryrefslogtreecommitdiff
path: root/sh
AgeCommit message (Collapse)Author
2011-01-12bug 351160: make openrc exit codes LSB compliantEray Aslan
* status on a stopped service now has a return code of 3 (was 1) * starting an already started service now has a return code of 0 (was 1) * stopping an already stopped service now has a return code of 0 (was 1)
2011-01-12bug 328675: add error checking to runscript.shWilliam Hubbs
runscript.sh needs to abort if the . command used to load conf.d files and the service script does not execute successfully. I would like to thank Mike Frysinger for his input wrt style on this patch.
2010-12-03fix selinux context for rc-svcdir (bug #347503)Robin Johnson
2010-10-28correction for unmounting volumes with weird characters, thanks BrantJory A. Pratt
Gurganus <brant@gurganus.name>
2010-10-27allow net_fs_list to be extended but not replacedWilliam Hubbs
This fixes bug #342825.
2010-09-30surpress output of loadkeys, fix setfont path checkJory A. Pratt
2010-03-16Send SIGKILL after 2 failed SIGTERM when unmounting.Roy Marples
2010-02-26Mount xenfs early so OpenRC can detect it.Juan RP
2010-02-20Fix rc_${rc_svcname}_need.Roy Marples
Display config depends in service depend function also.
2009-11-20If mounting tmpfs fails, try ramfs.Roy Marples
This is because buggy kernels always report tmpfs even when not present.
2009-09-04Allow init scripts to show their dependencies easierRoy Marples
2009-05-26We need to use eval so we can pass "*" as an argument.Roy Marples
2009-05-23Move non compiled libraries from /lib/rc to /libexec/rcRoy Marples
OpenRC version is now stored as plaintext in /libexec/rc/version Plugins (cursplash, splashutils) will have to be re-compiled to pickup the new directories. State data needs to be moved from /lib/rc/init.d to /libexec/rc/init.d as well.
2009-05-05Fix compile on NetBSDRoy Marples
2009-05-05Ignore more foo for the BSDsRoy Marples
2009-05-01Add (c) to CopyrightRoy Marples
2009-04-30Go back to gitRoy Marples
2009-04-27Allow templates to define a stop signalRoy Marples
2009-04-26Stop using needless {} in varsRoy Marples
2009-04-26Try and set a keymap as early as possible, #169Roy Marples
2009-04-19Use a bashism for a minor speedup in gendepends.shRoy Marples
2009-04-18Allow user to provide custom status function and still hook into the system oneRoy Marples
2009-04-18Move status to runscript.sh so init scripts can override it, #159Roy Marples
Return 32 if crashed, #163
2009-04-16Avoid needless forking, #165Roy Marples
Thanks to Natanael Copa.
2009-01-29We should always mount $RC_SVCDIR unless in a vserver or it's already mounted.Roy Marples
2008-12-04Punt .gitignore files.Roy Marples
2008-11-28Save screen space.Roy Marples
2008-11-13Fix lib.Roy Marples
2008-11-12Mark the addon code as deprecated.Roy Marples
2008-11-04Move romount to mount-ro and use the umount -r option as it's more reliable ↵Roy Marples
for / --bind mounts, Gentoo #239922. Thanks to Duncan.
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-10-09Fix umounting reporting exit status, Gentoo #239922.Roy Marples
2008-09-22Allow forcefsck instead of gentoo=forcefsck on the kernel command line.Roy Marples
2008-08-19Allow OpenVZ to mount /sys and device managers, #102Roy Marples
2008-06-21Set the default RC_SVCDIR higher up.Roy Marples
2008-06-21We need to replace @LIB@ here.Roy Marples
2008-05-01There could be a space between #! and /sbin/runscript, Gentoo #218001.Roy Marples
2008-04-29We need to ensure that the init script started is correct, translating ↵Roy Marples
symlinks. This has a new rule - multiplexed services must exist in the same dir as the master sript. So we need to ensuret that net.lo(0) is the real script and not a symlink itself. This fixes Gentoo #219526.
2008-04-26Always define template start/stop functions so that the real script name ↵Roy Marples
isn't hidden when errors are in the real start/stop functions, Gentoo #219179
2008-04-21Fix logic for templates.Roy Marples
2008-04-21TypoRoy Marples
2008-04-21Punt is_function in favour of POSIX shell builtin command, thanks to Harald ↵Roy Marples
van Dijk for the idea.
2008-04-18We should check type output to ensure that we're really calling a shell ↵Roy Marples
function and not some badly named binary like stop from boinc, Gentoo #218063.
2008-04-16We should only check dependencies in files.Roy Marples
2008-04-08Add a silly rc_runlevel function to appease SpanKY :)Roy Marples
2008-04-07Tests now work on NetBSD.Roy Marples
2008-04-06Some systems are only detectable after /proc is mounted, so re-test if unknown.Roy Marples
2008-03-27We would sanitize $RC_LIBDIR/sbin as well. If it's really needed then ↵Roy Marples
rc-functions.sh will add it back.
2008-03-27Sanitize the write rc dir.Roy Marples