mirror of
https://github.com/OpenRC/openrc.git
synced 2026-01-26 08:27:52 +00:00
*: fix some typos
a few matches were not typos (e.g. ahd), or not changes i'd care to make (e.g. bootup vs boot up). Closes: https://github.com/OpenRC/openrc/issues/812
This commit is contained in:
parent
0b1f2cc6c6
commit
8b6e5e93c2
6
NEWS.md
6
NEWS.md
@ -31,7 +31,7 @@ RC_ULIMIT now supports setting multiple limits at once.
|
||||
|
||||
OpenRC now supports shared mounts in fstab. This is used for some containers
|
||||
which might require hierarchies to be mounted with different
|
||||
propegation than the kernel default of private.
|
||||
propagation than the kernel default of private.
|
||||
|
||||
|
||||
Podman containers now can be autodetected.
|
||||
@ -73,7 +73,7 @@ This benefits users since it will assign each service to its own cgroup,
|
||||
making resource nanagement better over all.
|
||||
|
||||
OUTPUT_LOGGER and ERROR_LOGGER have been implemented for
|
||||
supervise-daemon. For mor einformation on these settings, please check
|
||||
supervise-daemon. For more information on these settings, please check
|
||||
the man page.
|
||||
|
||||
## OpenRC 0.50
|
||||
@ -225,7 +225,7 @@ information:
|
||||
|
||||
https://github.com/openrc/openrc/issues/238
|
||||
|
||||
This version adds timed shutdown and cancelation of shutdown to
|
||||
This version adds timed shutdown and cancellation of shutdown to
|
||||
openrc-shutdown. Shutdowns can now be delayed for a certain amount of
|
||||
time or scheduled for an exact time.
|
||||
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
#include "einfo.h"
|
||||
#include "helpers.h"
|
||||
|
||||
/* Incase we cannot work out how many columns from ioctl, supply a default */
|
||||
/* In case we cannot work out how many columns from ioctl, supply a default */
|
||||
#define DEFAULT_COLS 80
|
||||
|
||||
#define OK "ok"
|
||||
|
||||
@ -293,11 +293,11 @@ get_provided1(const char *runlevel, RC_STRINGLIST *providers,
|
||||
/* Work out if a service is provided by another service.
|
||||
For example metalog provides logger.
|
||||
We need to be able to handle syslogd providing logger too.
|
||||
We do this by checking whats running, then what's starting/stopping,
|
||||
We do this by checking what's running, then what's starting/stopping,
|
||||
then what's run in the runlevels and finally alphabetical order.
|
||||
|
||||
If there are any bugs in rc-depend, they will probably be here as
|
||||
provided dependancy can change depending on runlevel state.
|
||||
provided dependency can change depending on runlevel state.
|
||||
*/
|
||||
static RC_STRINGLIST *
|
||||
get_provided(const RC_DEPINFO *depinfo, const char *runlevel, int options)
|
||||
|
||||
@ -55,7 +55,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/* LOCAL_PREFIX is for user written stuff, which the base OS and package
|
||||
* manger don't touch. */
|
||||
* manager don't touch. */
|
||||
#define RC_LOCAL_PREFIX "@LOCAL_PREFIX@"
|
||||
#ifdef RC_LOCAL_PREFIX
|
||||
# define RC_LOCAL_INITDIR RC_LOCAL_PREFIX "/etc/init.d"
|
||||
|
||||
@ -970,7 +970,7 @@ svc_stop_deps(RC_SERVICE state)
|
||||
continue;
|
||||
if (rc_runlevel_stopping()) {
|
||||
/* If shutting down, we should stop even
|
||||
* if a dependant failed */
|
||||
* if a dependent failed */
|
||||
if (runlevel &&
|
||||
(strcmp(runlevel,
|
||||
RC_LEVEL_SHUTDOWN) == 0 ||
|
||||
|
||||
@ -53,7 +53,7 @@ int main(int argc, char **argv) {
|
||||
setenv("EINFO_LOG", "openrc-user", true);
|
||||
|
||||
if (argc < 2 || argc > 2) {
|
||||
elog(LOG_ERR, "Invalid usaged. %s <username>", argv[0]);
|
||||
elog(LOG_ERR, "Invalid usage. %s <username>", argv[0]);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
@ -397,7 +397,7 @@ void selinux_setup(char **argv)
|
||||
|
||||
/*
|
||||
* exec will recycle ptys so try and use open_init_pty if it exists
|
||||
* which will open the pty with initrc_devpts_t, if it doesnt exist,
|
||||
* which will open the pty with initrc_devpts_t, if it doesn't exist,
|
||||
* fall back to plain exec
|
||||
*/
|
||||
if (!access("/usr/sbin/open_init_pty", X_OK)) {
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
start-stop-daemon
|
||||
* Starts, stops, tests and signals daemons
|
||||
*
|
||||
* This is essentially a ground up re-write of Debians
|
||||
* This is essentially a ground up re-write of Debian's
|
||||
* start-stop-daemon for cleaner code and to integrate into our RC
|
||||
* system so we can monitor daemons a little.
|
||||
*/
|
||||
|
||||
@ -16,13 +16,13 @@
|
||||
if command -v resolvconf >/dev/null 2>&1; then
|
||||
resolvconf -d "${dev}"
|
||||
elif [ -e /etc/resolv.conf-"${dev}".sv ]; then
|
||||
# Important that we copy instead of move incase resolv.conf is
|
||||
# Important that we copy instead of move in case resolv.conf is
|
||||
# a symlink and not an actual file
|
||||
cp -p /etc/resolv.conf-"${dev}".sv /etc/resolv.conf
|
||||
rm -f /etc/resolv.conf-"${dev}".sv
|
||||
fi
|
||||
|
||||
# Re-enter the init script to stop any dependant services
|
||||
# Re-enter the init script to stop any dependent services
|
||||
if [ -x "${RC_SERVICE}" ]; then
|
||||
if "${RC_SERVICE}" --quiet status; then
|
||||
IN_BACKGROUND=YES
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
# We need to add a flag to resolvconf to say
|
||||
# "these nameservers should only be used for the listed search domains
|
||||
# if other global nameservers are present on other interfaces"
|
||||
# This however, will break compatibility with Debians resolvconf
|
||||
# This however, will break compatibility with Debian's resolvconf
|
||||
# A possible workaround would be to just list multiple domain lines
|
||||
# and try and let resolvconf handle it
|
||||
|
||||
@ -68,7 +68,7 @@ fi
|
||||
# If we have a service specific script, run this now
|
||||
[ -x "${RC_SVCNAME}"-up.sh ] && "${RC_SVCNAME}"-up.sh
|
||||
|
||||
# Re-enter the init script to start any dependant services
|
||||
# Re-enter the init script to start any dependent services
|
||||
if [ -x "${RC_SERVICE}" ]; then
|
||||
if ! "${RC_SERVICE}" --quiet status; then
|
||||
IN_BACKGROUND=YES
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user