mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
Typos reported by "rhubarbpieguy"
This commit is contained in:
parent
4349661a7f
commit
b3daf01578
@ -34,7 +34,7 @@
|
|||||||
# Default-Start: S
|
# Default-Start: S
|
||||||
# Default-Stop:
|
# Default-Stop:
|
||||||
# Short-Description: Checks local filesystems before mounting.
|
# Short-Description: Checks local filesystems before mounting.
|
||||||
# Description: Checks local filesystmes before mounting.
|
# Description: Checks local filesystems before mounting.
|
||||||
# X-LFS-Provided-By: LFS
|
# X-LFS-Provided-By: LFS
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ case "${1}" in
|
|||||||
stop)
|
stop)
|
||||||
# Don't unmount virtual file systems like /run
|
# Don't unmount virtual file systems like /run
|
||||||
log_info_msg "Unmounting all other currently mounted file systems..."
|
log_info_msg "Unmounting all other currently mounted file systems..."
|
||||||
# Ensure any loop devies are removed
|
# Ensure any loop devices are removed
|
||||||
losetup -D
|
losetup -D
|
||||||
umount --all --detach-loop --read-only \
|
umount --all --detach-loop --read-only \
|
||||||
--types notmpfs,nosysfs,nodevtmpfs,noproc,nodevpts >/dev/null
|
--types notmpfs,nosysfs,nodevtmpfs,noproc,nodevpts >/dev/null
|
||||||
|
@ -183,7 +183,7 @@ fi
|
|||||||
|
|
||||||
# Start all services marked as S in this runlevel, except if marked as
|
# Start all services marked as S in this runlevel, except if marked as
|
||||||
# S in the previous runlevel
|
# S in the previous runlevel
|
||||||
# it is the responsabily of the script to not try to start an already running
|
# it is the responsibility of the script to not try to start an already running
|
||||||
# service
|
# service
|
||||||
for i in $( ls -v /etc/rc.d/rc${runlevel}.d/S* 2> /dev/null)
|
for i in $( ls -v /etc/rc.d/rc${runlevel}.d/S* 2> /dev/null)
|
||||||
do
|
do
|
||||||
|
@ -45,7 +45,7 @@ case "${1}" in
|
|||||||
# if it is possible to use killproc
|
# if it is possible to use killproc
|
||||||
killproc fully_qualified_path
|
killproc fully_qualified_path
|
||||||
# if it is not possible to use killproc
|
# if it is not possible to use killproc
|
||||||
# (the daemon shoudn't be stopped by killing it)
|
# (the daemon shouldn't be stopped by killing it)
|
||||||
if pidofproc daemon_name_as_reported_by_ps >/dev/null; then
|
if pidofproc daemon_name_as_reported_by_ps >/dev/null; then
|
||||||
command_to_stop_the_service
|
command_to_stop_the_service
|
||||||
fi
|
fi
|
||||||
|
@ -155,7 +155,7 @@ start_daemon()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Return a value ONLY
|
# Return a value ONLY
|
||||||
# It is the init script's (or distribution's functions) responsibilty
|
# It is the init script's (or distribution's functions) responsibility
|
||||||
# to log messages!
|
# to log messages!
|
||||||
case "${retval}" in
|
case "${retval}" in
|
||||||
|
|
||||||
@ -271,7 +271,7 @@ killproc()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Return a value ONLY
|
# Return a value ONLY
|
||||||
# It is the init script's (or distribution's functions) responsibilty
|
# It is the init script's (or distribution's functions) responsibility
|
||||||
# to log messages!
|
# to log messages!
|
||||||
case "${retval}" in
|
case "${retval}" in
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
# dev creates a new device
|
# dev creates a new device
|
||||||
# <devtype> is either block, char or pipe
|
# <devtype> is either block, char or pipe
|
||||||
# block creates a block device
|
# block creates a block device
|
||||||
# char creates a character deivce
|
# char creates a character device
|
||||||
# pipe creates a pipe, this will ignore the <major> and
|
# pipe creates a pipe, this will ignore the <major> and
|
||||||
# <minor> fields
|
# <minor> fields
|
||||||
# <major> and <minor> are the major and minor numbers used for
|
# <major> and <minor> are the major and minor numbers used for
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
#FAILURE_PREFIX="${FAILURE}*****${NORMAL} "
|
#FAILURE_PREFIX="${FAILURE}*****${NORMAL} "
|
||||||
#WARNING_PREFIX="${WARNING} *** ${NORMAL} "
|
#WARNING_PREFIX="${WARNING} *** ${NORMAL} "
|
||||||
|
|
||||||
# Manually seet the right edge of message output (characters)
|
# Manually set the right edge of message output (characters)
|
||||||
# Useful when resetting console font during boot to override
|
# Useful when resetting console font during boot to override
|
||||||
# automatic screen width detection
|
# automatic screen width detection
|
||||||
#COLUMNS=120
|
#COLUMNS=120
|
||||||
|
@ -151,7 +151,7 @@
|
|||||||
referred to as the system triplet. Since the vendor field is mostly
|
referred to as the system triplet. Since the vendor field is mostly
|
||||||
irrelevant, autoconf allows to omit it. An astute reader may wonder
|
irrelevant, autoconf allows to omit it. An astute reader may wonder
|
||||||
why a <quote>triplet</quote> refers to a four component name. The
|
why a <quote>triplet</quote> refers to a four component name. The
|
||||||
reason is the kernel field and the os field originiated from one
|
reason is the kernel field and the os field originated from one
|
||||||
<quote>system</quote> field. Such a three-field form is still valid
|
<quote>system</quote> field. Such a three-field form is still valid
|
||||||
today for some systems, for example
|
today for some systems, for example
|
||||||
<literal>x86_64-unknown-freebsd</literal>. But for other systems,
|
<literal>x86_64-unknown-freebsd</literal>. But for other systems,
|
||||||
|
Loading…
Reference in New Issue
Block a user