aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2012-01-22 01:17:42 +0100
committerChristian Ruppert <idl0r@gentoo.org>2012-01-22 01:17:42 +0100
commit2990e5a2e3ec06180ebe63448239e1cdad7878dd (patch)
treef8710a522ca6cbb9bc9e6c5a6f0cdfed0ee47d9c
parent85c90f9a1d6163c97e22570b7405be78b556626c (diff)
Whitespace
-rw-r--r--TODO2
-rw-r--r--conf.d/adjkerntz6
-rw-r--r--conf.d/hwclock8
-rw-r--r--conf.d/keymaps2
-rw-r--r--conf.d/moused2
-rw-r--r--man/Makefile2
-rw-r--r--man/einfo.34
-rw-r--r--man/rc-service.84
-rw-r--r--man/rc-status.84
-rw-r--r--man/rc-update.84
-rw-r--r--man/rc_deptree.34
-rw-r--r--man/rc_runlevel.32
-rw-r--r--man/rc_service.32
-rw-r--r--man/rc_stringlist.32
-rw-r--r--man/runscript.814
-rw-r--r--man/start-stop-daemon.82
-rw-r--r--mk/scripts.mk2
-rw-r--r--mk/subdir.mk2
-rw-r--r--mk/sys.mk4
-rw-r--r--support/sysvinit/inittab2
20 files changed, 37 insertions, 37 deletions
diff --git a/TODO b/TODO
index 4309aa00..cd9ac0c5 100644
--- a/TODO
+++ b/TODO
@@ -1,4 +1,4 @@
-- ensure all forks block, restore and unblock signals. needs review
+- ensure all forks block, restore and unblock signals. needs review
- add support somehow for optional translations
diff --git a/conf.d/adjkerntz b/conf.d/adjkerntz
index 4dab74f7..b7291cd8 100644
--- a/conf.d/adjkerntz
+++ b/conf.d/adjkerntz
@@ -1,10 +1,10 @@
# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
-# Greenwich Mean Time). If your clock is set to the local time, then
-# set CLOCK to "local". Note that if you dual boot with Windows, then
+# Greenwich Mean Time). If your clock is set to the local time, then
+# set CLOCK to "local". Note that if you dual boot with Windows, then
# you should set it to "local".
clock="UTC"
-# If you want to set the Hardware Clock to the current System Time
+# If you want to set the Hardware Clock to the current System Time
# during shutdown, then say "YES" here.
# You normally don't need to do this if you run a ntp daemon.
clock_systohc="NO"
diff --git a/conf.d/hwclock b/conf.d/hwclock
index 4e66ff95..a94cdb27 100644
--- a/conf.d/hwclock
+++ b/conf.d/hwclock
@@ -1,10 +1,10 @@
# Set CLOCK to "UTC" if your Hardware Clock is set to UTC (also known as
-# Greenwich Mean Time). If that clock is set to the local time, then
-# set CLOCK to "local". Note that if you dual boot with Windows, then
+# Greenwich Mean Time). If that clock is set to the local time, then
+# set CLOCK to "local". Note that if you dual boot with Windows, then
# you should set it to "local".
clock="UTC"
-# If you want to set the Hardware Clock to the current System Time
+# If you want to set the Hardware Clock to the current System Time
# (software clock) during shutdown, then say "YES" here.
# You normally don't need to do this if you run a ntp daemon.
clock_systohc="NO"
@@ -16,7 +16,7 @@ clock_systohc="NO"
# never be saved to the hardware clock unless you set
# clock_systohc="YES" above.
clock_hctosys="YES"
-
+
# If you wish to pass any other arguments to hwclock during bootup,
# you may do so here. Alpha users may wish to use --arc or --srm here.
clock_args=""
diff --git a/conf.d/keymaps b/conf.d/keymaps
index 1a5b9443..f2431de1 100644
--- a/conf.d/keymaps
+++ b/conf.d/keymaps
@@ -12,7 +12,7 @@ windowkeys="NO"
extended_keymaps=""
#extended_keymaps="backspace keypad euro2"
-# Tell dumpkeys(1) to interpret character action codes to be
+# Tell dumpkeys(1) to interpret character action codes to be
# from the specified character set.
# This only matters if you set unicode="yes" in /etc/rc.conf.
# For a list of valid sets, run `dumpkeys --help`
diff --git a/conf.d/moused b/conf.d/moused
index a9d2d401..2d9bf778 100644
--- a/conf.d/moused
+++ b/conf.d/moused
@@ -11,6 +11,6 @@
# You can also multiplex the init script for each device like so
# ln -s moused /etc/init.d/moused.ums0
-# This enables you to have a config file per mouse (forces moused_device
+# This enables you to have a config file per mouse (forces moused_device
# to ums0 in this case) and control each mouse.
# devd can also start and stop these mice, which laptop users will find handy.
diff --git a/man/Makefile b/man/Makefile
index 5a63da82..3ad717dc 100644
--- a/man/Makefile
+++ b/man/Makefile
@@ -27,7 +27,7 @@ install:
for man in ${MAN3}; do \
${INSTALL} -m ${MANMODE} "$$man" ${DESTDIR}/${MANDIR}/man3 || exit $$?; \
${MAKE_LINKS} \
- done
+ done
${INSTALL} -d ${DESTDIR}/${MANDIR}/man8
for man in ${MAN8}; do \
${INSTALL} -m ${MANMODE} "$$man" ${DESTDIR}/${MANDIR}/man8 || exit $$?; \
diff --git a/man/einfo.3 b/man/einfo.3
index 5dc86d00..f613df34 100644
--- a/man/einfo.3
+++ b/man/einfo.3
@@ -115,7 +115,7 @@ to true.
These functions are designed to output a whole line, so they also
append a newline to the string. To stop this behaviour, you can use the
functions
-.Fn einfon ,
+.Fn einfon ,
.Fn ewarnn ,
.Fn eerrorn ,
.Fn einfovn ,
@@ -149,7 +149,7 @@ does the same as
.Fn eend
but prints
.Fa msg
-instead of ok or !! in the color
+instead of ok or !! in the color
.Fa color
at the column
.Fa col .
diff --git a/man/rc-service.8 b/man/rc-service.8
index 31829fe4..c40c7478 100644
--- a/man/rc-service.8
+++ b/man/rc-service.8
@@ -26,7 +26,7 @@
.Os OpenRC
.Sh NAME
.Nm rc-service
-.Nd locate and run an OpenRC service with the given arguments
+.Nd locate and run an OpenRC service with the given arguments
.Sh SYNOPSIS
.Nm
.Op Fl i , -ifexists
@@ -41,7 +41,7 @@
.Fl r , -resolve
.Ar service
.Sh DESCRIPTION
-Service scripts could be in different places on different systems.
+Service scripts could be in different places on different systems.
.Nm
locates the specified service and runs it with the given arguments.
If
diff --git a/man/rc-status.8 b/man/rc-status.8
index 55877ba5..4b786a6c 100644
--- a/man/rc-status.8
+++ b/man/rc-status.8
@@ -33,8 +33,8 @@
.Op Ar runlevel
.Sh DESCRIPTION
.Nm
-gathers and displays information about the status of services
-in different runlevels. The default behavior is to show information
+gathers and displays information about the status of services
+in different runlevels. The default behavior is to show information
about the current runlevel and any unassigned services that are not stopped,
but any runlevel can be quickly examined.
.Pp
diff --git a/man/rc-update.8 b/man/rc-update.8
index 829f6535..088b5fea 100644
--- a/man/rc-update.8
+++ b/man/rc-update.8
@@ -26,7 +26,7 @@
.Os OpenRC
.Sh NAME
.Nm rc-update
-.Nd add and remove services to and from a runlevel
+.Nd add and remove services to and from a runlevel
.Sh SYNOPSIS
.Nm
.Op Fl s , -stack
@@ -44,7 +44,7 @@
.Ar show
.Op Ar runlevel ...
.Sh DESCRIPTION
-OpenRC uses named runlevels. Rather than editing some obscure
+OpenRC uses named runlevels. Rather than editing some obscure
file or managing a directory of symlinks,
.Nm
exists to quickly add or delete services to and from from different runlevels.
diff --git a/man/rc_deptree.3 b/man/rc_deptree.3
index 69b1218f..e9805343 100644
--- a/man/rc_deptree.3
+++ b/man/rc_deptree.3
@@ -32,7 +32,7 @@
.Sh LIBRARY
Run Command library (librc, -lrc)
.Sh SYNOPSIS
-.In rc.h
+.In rc.h
.Ft bool Fn rc_deptree_update void
.Ft bool Fn rc_deptree_update_needed void
.Ft RC_DEPTREE Fn rc_deptree_load void
@@ -77,7 +77,7 @@ loads the deptree and returns a pointer to it which needs to be freed by
when done.
.Pp
.Fn rc_deptree_depend ,
-.Fn rc_deptree_depends
+.Fn rc_deptree_depends
and
.Fn rc_deptree_order
return a list of services from the
diff --git a/man/rc_runlevel.3 b/man/rc_runlevel.3
index e44a7134..60468eb9 100644
--- a/man/rc_runlevel.3
+++ b/man/rc_runlevel.3
@@ -31,7 +31,7 @@
.Sh LIBRARY
Run Command library (librc, -lrc)
.Sh SYNOPSIS
-.In rc.h
+.In rc.h
.Ft "char *" Fn rc_runlevel_get void
.Ft bool Fn rc_runlevel_exists
.Ft "RC_STRINGLIST *" Fn rc_runlevel_list void
diff --git a/man/rc_service.3 b/man/rc_service.3
index 9460c368..4c1ee011 100644
--- a/man/rc_service.3
+++ b/man/rc_service.3
@@ -37,7 +37,7 @@
.Sh LIBRARY
Run Command library (librc, -lrc)
.Sh SYNOPSIS
-.In rc.h
+.In rc.h
.Ft bool Fn rc_service_add "const char *runlevel" "const char *service"
.Ft bool Fn rc_service_delete "const char *runlevel" "const char *service"
.Ft bool Fo rc_service_daemon_set
diff --git a/man/rc_stringlist.3 b/man/rc_stringlist.3
index 40cac3ca..bfc99fbb 100644
--- a/man/rc_stringlist.3
+++ b/man/rc_stringlist.3
@@ -32,7 +32,7 @@
Run Command library (librc, -lrc)
.Sh SYNOPSIS
.In rc.h
-.Ft "RC_STRINGLIST *" Fn rc_stringlist_new void
+.Ft "RC_STRINGLIST *" Fn rc_stringlist_new void
.Ft "RC_STRING *" Fn rc_stringlist_add "RC_STRINGLIST *list" "const char *item"
.Ft "RC_STRING *" Fn rc_stringlist_addu "RC_STRINGLIST *list" "const char *item"
.Ft bool Fn rc_stringlist_delete RC_STRINGLIST "const char *item"
diff --git a/man/runscript.8 b/man/runscript.8
index dd934c4b..30fde94e 100644
--- a/man/runscript.8
+++ b/man/runscript.8
@@ -25,7 +25,7 @@
.Dt RUNSCRIPT 8 SMM
.Os OpenRC
.Sh NAME
-.Nm runscript
+.Nm runscript
.Nd a means of hooking shell commands into a service
.Sh SYNOPSIS
.Nm
@@ -135,7 +135,7 @@ Here is a list of the functions you can use in a
.Ic depend
function. You simply pass the names of the services to it to add to that
dependency type, or prefix it with ! to remove it.
-.Bl -tag -width "RC_DEFAULTLEVEL"
+.Bl -tag -width "RC_DEFAULTLEVEL"
.It Ic need
The service will refuse to start until needed services have started and it
will refuse to stop until any services that need it have stopped.
@@ -167,9 +167,9 @@ Other services should wait indefinitely for this service to start. Use
this keyword if your service may take longer than 60 seconds to start.
.It Dv -jail
When in a jail, exclude this service from any dependencies. The service can
-still be run directly. Set via
-.Ic rc_sys
-in
+still be run directly. Set via
+.Ic rc_sys
+in
.Pa /etc/rc.conf
.It Dv -lxc
Same as -jail, but for Linux Resource Containers (LXC).
@@ -323,7 +323,7 @@ matches YES, TRUE, ON or 1 regardless of case then we return 0, otherwise 1.
.Sh ENVIRONMENT
.Nm
sets the following environment variables for use in the service scripts:
-.Bl -tag -width "RC_DEFAULTLEVEL"
+.Bl -tag -width "RC_DEFAULTLEVEL"
.It Va RC_SVCNAME
Name of the service.
.It Va RC_RUNLEVEL
@@ -418,7 +418,7 @@ depend()
_need=`service_get_value need`
else
if _need_dbus; then
- _need="${_need} dbus"
+ _need="${_need} dbus"
fi
fi
need ${_need}
diff --git a/man/start-stop-daemon.8 b/man/start-stop-daemon.8
index 5467ec2f..a8052328 100644
--- a/man/start-stop-daemon.8
+++ b/man/start-stop-daemon.8
@@ -58,7 +58,7 @@ is used in an OpenRC service, then OpenRC can in turn check to see if the
daemon is still running. If not, then the service is marked as crashed.
.Pp
Here are the options to specify the daemon and how it should start or stop:
-.Bl -tag -width indent
+.Bl -tag -width indent
.It Fl x , -exec Ar daemon
The
.Ar daemon
diff --git a/mk/scripts.mk b/mk/scripts.mk
index c0b44db0..7528c274 100644
--- a/mk/scripts.mk
+++ b/mk/scripts.mk
@@ -53,6 +53,6 @@ check test::
# so we ensure that it has a bogus argument
CLEANFILES+= ${OBJS}
clean:
- @if test -n "${CLEANFILES}"; then echo "rm -f ${CLEANFILES}"; rm -f ${CLEANFILES}; fi
+ @if test -n "${CLEANFILES}"; then echo "rm -f ${CLEANFILES}"; rm -f ${CLEANFILES}; fi
include ${MK}/gitignore.mk
diff --git a/mk/subdir.mk b/mk/subdir.mk
index a5f05b81..7f198f8b 100644
--- a/mk/subdir.mk
+++ b/mk/subdir.mk
@@ -4,7 +4,7 @@
# Released under the 2-clause BSD license.
_+_ ?= +
-ECHODIR ?= echo
+ECHODIR ?= echo
_SUBDIR = @${_+_}for x in ${SUBDIR}; do \
if test -d $$x; then \
${ECHODIR} "===> ${DIRPRFX}$$x (${@:realinstall=install})"; \
diff --git a/mk/sys.mk b/mk/sys.mk
index 731b77cc..4ab9fb13 100644
--- a/mk/sys.mk
+++ b/mk/sys.mk
@@ -10,7 +10,7 @@ RANLIB?= ranlib
SED?= sed
SH= /bin/sh
-PREFIX?=
+PREFIX?=
_UPREFIX_SH= case "${PREFIX}" in "") echo /usr;; *) echo "${PREFIX}";; esac
_UPREFIX:= $(shell ${_UPREFIX_SH})
UPREFIX= ${_UPREFIX}
@@ -43,6 +43,6 @@ MANDIR?= ${MANPREFIX}/man
MANMODE?= 0444
DOCDIR?= ${UPREFIX}/share/doc
-DOCMODE?= 0644
+DOCMODE?= 0644
CONFMODE?= 0644
diff --git a/support/sysvinit/inittab b/support/sysvinit/inittab
index b8c9476c..34810084 100644
--- a/support/sysvinit/inittab
+++ b/support/sysvinit/inittab
@@ -10,7 +10,7 @@ si::sysinit:/sbin/rc sysinit
# Further system initialization, brings up the boot runlevel.
rc::bootwait:/sbin/rc boot
-l0:0:wait:/sbin/rc shutdown
+l0:0:wait:/sbin/rc shutdown
l0s:0:wait:/sbin/halt -dhip
l1:S1:wait:/sbin/rc single
l2:2:wait:/sbin/rc nonetwork