Skip to content

Commit 3054046

Browse files
jsorefwilliamh
authored andcommitted
multiple spelling and typo fixes
This fixes #516.
1 parent f81bb7e commit 3054046

31 files changed

+42
-42
lines changed

NEWS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ using modules-load in your dependencies.
110110

111111
The consolefont, keymaps, numlock and procfs service scripts no longer
112112
have a dependency on localmount.
113-
If you are a linux user and are still separaating / from /usr,
113+
If you are a linux user and are still separating / from /usr,
114114
you will need to add the following line to the appropriate conf.d files:
115115

116116
rc_need="localmount"

conf.d/fsck

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# We can also specify the passno in /etc/fstab to check
99
# If you multiplex fsck (ie ln -s fsck /etc/init.d/fsck.late) then you can
1010
# do an fsck outside of the normal scope, say for /home.
11-
# Here are some exampes:-
11+
# Here are some examples:-
1212
#fsck_passno="=1 =2"
1313
#fsck_passno=">1"
1414
#fsck_passno="<2"

conf.d/ipfw

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ipfw provides a stateful firewall.
22
# This means we allow everything out, and if we have a connection we allow it
3-
# back in. This is very flexable and quite secure.
3+
# back in. This is very flexible and quite secure.
44

55
# For ease of use, we allow auth and ssh ports through as well.
66
# To override the list of allowed ports

conf.d/network

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Assign static IP addresses and run custom scripts per interface.
2-
# Seperate commands with ;
2+
# Separate commands with ;
33
# Prefix with ! to run a shell script.
44
# Use \$int to represent the interface
55
#ifconfig_eth0="192.168.0.10 netmask 255.255.255.0"

conf.d/powerd

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
powerd_ac_mode="maximum"
44
#powerd_battery_mode="minimum"
55

6-
# Addiditonal arguments for powerd - see the man page for details
6+
# Additional arguments for powerd - see the man page for details
77
powerd_args=""

etc/rc.devd

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ getmedia() {
2626
if [ ! -e /etc/init.d/"$1" -a ! -e /usr/local/init.d/"$1" ]; then
2727
base=${1%%.*}
2828
if [ "${base}" = "net" ]; then
29-
# We only create links for pyhsical interfaces
29+
# We only create links for physical interfaces
3030
[ -n "$(getmedia ${1#*.})" ] || exit 1
3131
base="net.lo0"
3232
fi

init.d/fsck.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ start()
106106
_abort
107107
fi;;
108108
4) if [ "$RC_UNAME" = Linux ]; then
109-
ewend 1 "Fileystem errors left uncorrected, aborting"
109+
ewend 1 "Filesystem errors left uncorrected, aborting"
110110
_abort
111111
else
112112
ewend 1 "Filesystems repaired, but reboot needed"

init.d/ipfw.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ start() {
122122
ipfw add deny { tcp or udp } from any to any $p in
123123
done
124124

125-
# Broadcasts and muticasts
125+
# Broadcasts and multicasts
126126
ipfw add deny ip from any to 255.255.255.255
127127
ipfw add deny ip from any to 224.0.0.0/24
128128

init.d/mount-ro.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# This file may not be copied, modified, propagated, or distributed
1010
# except according to the terms contained in the LICENSE file.
1111

12-
description="Re-mount filesytems read-only for a clean reboot."
12+
description="Re-mount filesystems read-only for a clean reboot."
1313

1414
depend()
1515
{

man/openrc-shutdown.8

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Stop all services, kill all processes and reboot the system.
7676
.It Fl s , -single
7777
Stop all services, kill all processes and move to single user mode.
7878
.It Fl w , -write-only
79-
Wrrite a wtmp shutdown record and do nothing else.
79+
Write a wtmp shutdown record and do nothing else.
8080
.El
8181
.Sh SEE ALSO
8282
.Xr openrc-init 8 ,

man/rc-sstat.8

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ info
2020
.Sh DESCRIPTION
2121
.Nm
2222
gathers and displays information about the status of services supervised
23-
by s6 then runs rc-status to show info about nnormal OpenRC services.
23+
by s6 then runs rc-status to show info about normal OpenRC services.
2424
.Pp
2525
.Sh EXIT STATUS
2626
.Nm

man/rc-update.8

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
OpenRC uses named runlevels. Rather than editing some obscure
3636
file or managing a directory of symlinks,
3737
.Nm
38-
exists to quickly add or delete services to and from from different runlevels.
38+
exists to quickly add or delete services to and from different runlevels.
3939
All services must reside in the
4040
.Pa /etc/init.d
4141
or

man/rc_find_pids.3

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ returns RC_PIDLIST, a structure based on the LIST macro from
3131
which contains all the pids found matching the given criteria.
3232
If
3333
.Fa pid
34-
is given then only that pid is returned if it is running. Otherise we check
34+
is given then only that pid is returned if it is running. Otherwise we check
3535
all instances of
3636
.Fa argv
3737
with a process name of

man/rc_service.3

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ When
145145
.Fa service
146146
starts, it starts
147147
.Fa service_to_start
148-
afterswards as directed by
148+
afterwards as directed by
149149
.Fn rc_service_schedule_start .
150150
.Fn rc_services_scheduled
151151
returns a list of services that will be started when

man/supervise-daemon.8

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ If respawn-delay, respawn-max and respawn-period are not set correctly,
193193
it is possible to trigger a situation in which the supervisor will
194194
infinitely try to respawn a daemon. To avoid this, if you change the
195195
values of --respawn-delay, --respawn-max or --respawn-period, always
196-
make sure the settings mmake sense. For example, a respawn period of 5
196+
make sure the settings make sense. For example, a respawn period of 5
197197
seconds with a respawn max of 10 and a respawn delay of 1 second leads
198198
to infinite respawning since there can never be 10 respawns within 5
199199
seconds.

src/checkpath/checkpath.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* checkpath.c
3-
* Checks for the existance of a file or directory and creates it
3+
* Checks for the existence of a file or directory and creates it
44
* if necessary. It can also correct its ownership.
55
*/
66

@@ -67,7 +67,7 @@ const char * const longopts_help[] = {
6767
"Create a named pipe (FIFO) if not exists",
6868
"Mode to check",
6969
"Owner to check (user:group)",
70-
"follow symbolic links (irrelivent on linux)",
70+
"follow symbolic links (irrelevant on linux)",
7171
"Check whether the path is writable or not",
7272
longopts_help_COMMON
7373
};

src/einfo/einfo.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#include "einfo.h"
3131
#include "helpers.h"
3232

33-
/* usecs to wait while we poll the file existance */
33+
/* usecs to wait while we poll the file existence */
3434
#define WAIT_INTERVAL 20000000
3535

3636
const char *applet = NULL;

src/fstabinfo/fstabinfo.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const struct option longopts[] = {
7575
longopts_COMMON
7676
};
7777
const char * const longopts_help[] = {
78-
"Mounts the filesytem from the mountpoint",
78+
"Mounts the filesystem from the mountpoint",
7979
"Remounts the filesystem based on the information in fstab",
8080
"Extract the block device",
8181
"Show arguments needed to mount the entry",

src/libeinfo/einfo.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ int ebegin(const char * EINFO_RESTRICT, ...) EINFO_PRINTF(1, 2);
108108
* eend places [ ok ] or [ !! ] at the end of the terminal line depending on
109109
* retval (0 or ok, anything else for !!)
110110
*
111-
* ebracket allows you to specifiy the position, color and message */
111+
* ebracket allows you to specify the position, color and message */
112112
/*@{*/
113113
int eend(int, const char * EINFO_RESTRICT, ...) EINFO_PRINTF(2, 3);
114114
int ewend(int, const char * EINFO_RESTRICT, ...) EINFO_PRINTF(2, 3);

src/librc/librc-misc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ rc_config_list(const char *file)
186186
if (token && (strlen(token) > 1)) {
187187
/* If not variable assignment then skip */
188188
if (strchr(token, '=')) {
189-
/* Stip the newline if present */
189+
/* Strip the newline if present */
190190
if (token[strlen(token) - 1] == '\n')
191191
token[strlen(token) - 1] = 0;
192192

src/librc/rc.h.in

+5-5
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ bool rc_service_add(const char *, const char *);
201201
/*! Remove the service from the runlevel
202202
* @param runlevel to remove from
203203
* @param service to remove
204-
* @return true if sucessful, otherwise false */
204+
* @return true if successful, otherwise false */
205205
bool rc_service_delete(const char *, const char *);
206206

207207
/*! Save the arguments to find a running daemon
@@ -304,7 +304,7 @@ RC_STRINGLIST *rc_services_in_runlevel_stacked(const char *);
304304
* @return NULL terminated list of services */
305305
RC_STRINGLIST *rc_services_in_state(RC_SERVICE);
306306

307-
/*! List the services shceduled to start when this one does
307+
/*! List the services scheduled to start when this one does
308308
* @param service to check
309309
* @return NULL terminated list of services */
310310
RC_STRINGLIST *rc_services_scheduled(const char *);
@@ -450,9 +450,9 @@ RC_STRINGLIST *rc_deptree_depend(const RC_DEPTREE *, const char *, const char *)
450450
RC_STRINGLIST *rc_deptree_depends(const RC_DEPTREE *, const RC_STRINGLIST *,
451451
const RC_STRINGLIST *, const char *, int);
452452

453-
/*! List all the services that should be stoppned and then started, in order,
453+
/*! List all the services that should be stopped and then started, in order,
454454
* for the given runlevel, including sysinit and boot services where
455-
* approriate.
455+
* appropriate.
456456
* @param deptree to search
457457
* @param runlevel to change into
458458
* @param options to pass
@@ -528,7 +528,7 @@ bool rc_yesno(const char *);
528528
/*! @name String List functions
529529
* Every string list should be released with a call to rc_stringlist_free. */
530530

531-
/*! Create a new stringlinst
531+
/*! Create a new stringlist
532532
* @return pointer to new list */
533533
RC_STRINGLIST *rc_stringlist_new(void);
534534

src/openrc-run/openrc-run.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ svc_exec(const char *arg1, const char *arg2)
363363
* We do this instead of mapping pipes to stdout, stderr so that
364364
* programs can tell if they're attached to a tty or not.
365365
* The only loss is that we can no longer tell the difference
366-
* between the childs stdout or stderr */
366+
* between the child's stdout or stderr */
367367
master_tty = slave_tty = -1;
368368
if (prefix && isatty(fdout)) {
369369
tcgetattr(fdout, &tt);
@@ -1045,7 +1045,7 @@ svc_stop(void)
10451045
static void
10461046
svc_restart(void)
10471047
{
1048-
/* This is hairly and a better way needs to be found I think!
1048+
/* This is hairy and a better way needs to be found I think!
10491049
* The issue is this - openvpn need net and dns. net can restart
10501050
* dns via resolvconf, so you could have openvpn trying to restart
10511051
* dnsmasq which in turn is waiting on net which in turn is waiting

src/openrc-shutdown/sysvinit.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ struct init_request_bsd {
5050

5151
/*
5252
* Because of legacy interfaces, "runlevel" and "sleeptime"
53-
* aren't in a seperate struct in the union.
53+
* aren't in a separate struct in the union.
5454
*
5555
* The weird sizes are because init expects the whole
5656
* struct to be 384 bytes.

src/openrc/rc.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ do_stop_services(RC_STRINGLIST *types_nw, RC_STRINGLIST *start_services,
562562
continue;
563563
}
564564

565-
/* If the service has crashed, skip futher checks and just stop
565+
/* If the service has crashed, skip further checks and just stop
566566
it */
567567
if (crashed &&
568568
rc_service_daemons_crashed(service->value))
@@ -584,7 +584,7 @@ do_stop_services(RC_STRINGLIST *types_nw, RC_STRINGLIST *start_services,
584584
continue;
585585
}
586586

587-
/* We got this far. Last check is to see if any any service
587+
/* We got this far. Last check is to see if any service
588588
* that going to be started depends on us */
589589
if (!svc1) {
590590
tmplist = rc_stringlist_new();
@@ -877,7 +877,7 @@ int main(int argc, char **argv)
877877
setenv("RC_RUNLEVEL", newlevel, 1);
878878
setenv("RC_GOINGDOWN", "YES", 1);
879879
} else {
880-
/* We should not use krunevel in sysinit or boot runlevels */
880+
/* We should not use krunlevel in sysinit or boot runlevels */
881881
if (!newlevel ||
882882
(strcmp(newlevel, RC_LEVEL_SYSINIT) != 0 &&
883883
strcmp(newlevel, getenv("RC_BOOTLEVEL")) != 0))
@@ -913,7 +913,7 @@ int main(int argc, char **argv)
913913
#ifdef __FreeBSD__
914914
/* FIXME: we shouldn't have todo this */
915915
/* For some reason, wait_for_services waits for the logger
916-
* proccess to finish as well, but only on FreeBSD.
916+
* process to finish as well, but only on FreeBSD.
917917
* We cannot allow this so we stop logging now. */
918918
rc_logger_close();
919919
#endif

src/rc-sstat/rc-sstat

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ if [ -z $TERM -o $TERM = "dumb" ]; then
6464
fi
6565

6666
# Gather list of candidate services s6-supervise may be supervising
67-
# filter for folders and symlinks at /run/openrc/s6-scan/* ommiting output starting with '.'
67+
# filter for folders and symlinks at /run/openrc/s6-scan/* omitting output starting with '.'
6868
services="$(find $scandir -maxdepth 1 -mindepth 1 \( -type d -or -type l \) | awk -F'/' '{ if ( $NF !~ "^\\." ) print $NF}')"
6969
if [ -z "$services" ]; then
7070
printf "s6 found no services configured for supervision\n"
7171
exit 1
7272
fi
7373

7474
# Gather status for each service from s6-svstat
75-
# write to tmp file in memory for non I/O bound repeatative access
75+
# write to tmp file in memory for non I/O bound repetitive access
7676
rm -f $statfile 2>/dev/null
7777
for service in $services ; do
7878
echo "$service $(s6-svstat ${scandir}/${service})" >> $statfile

src/shared/plugin.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#ifndef __LIBRC_PLUGIN_H__
1919
#define __LIBRC_PLUGIN_H__
2020

21-
/* A simple flag to say if we're in a plugin proccess or not.
21+
/* A simple flag to say if we're in a plugin process or not.
2222
* Mainly used in atexit code. */
2323
extern bool rc_in_plugin;
2424

src/shared/queue.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ struct { \
664664
*/
665665

666666
/*
667-
* __launder_type(): We use this ugly hack to work around the the compiler
667+
* __launder_type(): We use this ugly hack to work around the compiler
668668
* noticing that two types may not alias each other and elide tests in code.
669669
* We hit this in the CIRCLEQ macros when comparing 'struct name *' and
670670
* 'struct type *' (see CIRCLEQ_HEAD()). Modern compilers (such as GCC
@@ -675,7 +675,7 @@ struct { \
675675
* Do not use for assignment.
676676
*
677677
* If we ever choose to change the ABI of the CIRCLEQ macros, we could fix
678-
* this by changing the head/tail sentinal values, but see the note above
678+
* this by changing the head/tail sentinel values, but see the note above
679679
* this one.
680680
*/
681681
static __inline const void * __launder_type(const void *);

src/supervise-daemon/supervise-daemon.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* supervise-daemon
33
* This is a supervisor for daemons.
4-
* It will start a deamon and make sure it restarts if it crashes.
4+
* It will start a daemon and make sure it restarts if it crashes.
55
*/
66

77
/*

supervise-daemon-guide.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The following is a brief guide on using this capability.
1313
functions.
1414

1515
* Daemons must not fork
16-
Any deamon that you would like to have monitored by supervise-daemon
16+
Any daemon that you would like to have monitored by supervise-daemon
1717
must not fork. Instead, it must stay in the foreground. If the daemon
1818
forks, the supervisor will be unable to monitor it.
1919

support/openvpn/up.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# we're using a decent dns cache/forwarder like dnsmasq and NOT nscd/libc.
1616
# nscd/libc users will get the VPN nameservers before their other ones
1717
# and will use the first one that responds - maybe the LAN ones?
18-
# non resolvconf users just the the VPN resolv.conf
18+
# non resolvconf users just the VPN resolv.conf
1919

2020
# FIXME:- if we have >1 domain, then we have to use search :/
2121
# We need to add a flag to resolvconf to say

test/units/check-is-older-than.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ TMPDIR="${BUILD_ROOT}"/tmp-"$(basename "$0")"
1212

1313
# Please note that we added this unit test because the function
1414
# should really be called is_newer_than as it's what it's really testing.
15-
# Or more perversly, returning 0 on failure and 1 and success.
15+
# Or more perversely, returning 0 on failure and 1 and success.
1616

1717
# bool is_older_than(reference, files/dirs to check)
1818
#

0 commit comments

Comments
 (0)