Whitespace

This commit is contained in:
Christian Ruppert 2012-01-22 01:17:42 +01:00
parent 85c90f9a1d
commit 2990e5a2e3
20 changed files with 37 additions and 37 deletions

2
TODO
View File

@ -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 - add support somehow for optional translations

View File

@ -1,10 +1,10 @@
# Set CLOCK to "UTC" if your system clock is set to UTC (also known as # 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 # 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 # set CLOCK to "local". Note that if you dual boot with Windows, then
# you should set it to "local". # you should set it to "local".
clock="UTC" 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. # during shutdown, then say "YES" here.
# You normally don't need to do this if you run a ntp daemon. # You normally don't need to do this if you run a ntp daemon.
clock_systohc="NO" clock_systohc="NO"

View File

@ -1,10 +1,10 @@
# Set CLOCK to "UTC" if your Hardware Clock is set to UTC (also known as # 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 # 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 # set CLOCK to "local". Note that if you dual boot with Windows, then
# you should set it to "local". # you should set it to "local".
clock="UTC" 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. # (software clock) during shutdown, then say "YES" here.
# You normally don't need to do this if you run a ntp daemon. # You normally don't need to do this if you run a ntp daemon.
clock_systohc="NO" clock_systohc="NO"
@ -16,7 +16,7 @@ clock_systohc="NO"
# never be saved to the hardware clock unless you set # never be saved to the hardware clock unless you set
# clock_systohc="YES" above. # clock_systohc="YES" above.
clock_hctosys="YES" clock_hctosys="YES"
# If you wish to pass any other arguments to hwclock during bootup, # 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. # you may do so here. Alpha users may wish to use --arc or --srm here.
clock_args="" clock_args=""

View File

@ -12,7 +12,7 @@ windowkeys="NO"
extended_keymaps="" extended_keymaps=""
#extended_keymaps="backspace keypad euro2" #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. # from the specified character set.
# This only matters if you set unicode="yes" in /etc/rc.conf. # This only matters if you set unicode="yes" in /etc/rc.conf.
# For a list of valid sets, run `dumpkeys --help` # For a list of valid sets, run `dumpkeys --help`

View File

@ -11,6 +11,6 @@
# You can also multiplex the init script for each device like so # You can also multiplex the init script for each device like so
# ln -s moused /etc/init.d/moused.ums0 # 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. # to ums0 in this case) and control each mouse.
# devd can also start and stop these mice, which laptop users will find handy. # devd can also start and stop these mice, which laptop users will find handy.

View File

@ -27,7 +27,7 @@ install:
for man in ${MAN3}; do \ for man in ${MAN3}; do \
${INSTALL} -m ${MANMODE} "$$man" ${DESTDIR}/${MANDIR}/man3 || exit $$?; \ ${INSTALL} -m ${MANMODE} "$$man" ${DESTDIR}/${MANDIR}/man3 || exit $$?; \
${MAKE_LINKS} \ ${MAKE_LINKS} \
done done
${INSTALL} -d ${DESTDIR}/${MANDIR}/man8 ${INSTALL} -d ${DESTDIR}/${MANDIR}/man8
for man in ${MAN8}; do \ for man in ${MAN8}; do \
${INSTALL} -m ${MANMODE} "$$man" ${DESTDIR}/${MANDIR}/man8 || exit $$?; \ ${INSTALL} -m ${MANMODE} "$$man" ${DESTDIR}/${MANDIR}/man8 || exit $$?; \

View File

@ -115,7 +115,7 @@ to true.
These functions are designed to output a whole line, so they also 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 append a newline to the string. To stop this behaviour, you can use the
functions functions
.Fn einfon , .Fn einfon ,
.Fn ewarnn , .Fn ewarnn ,
.Fn eerrorn , .Fn eerrorn ,
.Fn einfovn , .Fn einfovn ,
@ -149,7 +149,7 @@ does the same as
.Fn eend .Fn eend
but prints but prints
.Fa msg .Fa msg
instead of ok or !! in the color instead of ok or !! in the color
.Fa color .Fa color
at the column at the column
.Fa col . .Fa col .

View File

@ -26,7 +26,7 @@
.Os OpenRC .Os OpenRC
.Sh NAME .Sh NAME
.Nm rc-service .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 .Sh SYNOPSIS
.Nm .Nm
.Op Fl i , -ifexists .Op Fl i , -ifexists
@ -41,7 +41,7 @@
.Fl r , -resolve .Fl r , -resolve
.Ar service .Ar service
.Sh DESCRIPTION .Sh DESCRIPTION
Service scripts could be in different places on different systems. Service scripts could be in different places on different systems.
.Nm .Nm
locates the specified service and runs it with the given arguments. locates the specified service and runs it with the given arguments.
If If

View File

@ -33,8 +33,8 @@
.Op Ar runlevel .Op Ar runlevel
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
gathers and displays information about the status of services gathers and displays information about the status of services
in different runlevels. The default behavior is to show information in different runlevels. The default behavior is to show information
about the current runlevel and any unassigned services that are not stopped, about the current runlevel and any unassigned services that are not stopped,
but any runlevel can be quickly examined. but any runlevel can be quickly examined.
.Pp .Pp

View File

@ -26,7 +26,7 @@
.Os OpenRC .Os OpenRC
.Sh NAME .Sh NAME
.Nm rc-update .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 .Sh SYNOPSIS
.Nm .Nm
.Op Fl s , -stack .Op Fl s , -stack
@ -44,7 +44,7 @@
.Ar show .Ar show
.Op Ar runlevel ... .Op Ar runlevel ...
.Sh DESCRIPTION .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, file or managing a directory of symlinks,
.Nm .Nm
exists to quickly add or delete services to and from from different runlevels. exists to quickly add or delete services to and from from different runlevels.

View File

@ -32,7 +32,7 @@
.Sh LIBRARY .Sh LIBRARY
Run Command library (librc, -lrc) Run Command library (librc, -lrc)
.Sh SYNOPSIS .Sh SYNOPSIS
.In rc.h .In rc.h
.Ft bool Fn rc_deptree_update void .Ft bool Fn rc_deptree_update void
.Ft bool Fn rc_deptree_update_needed void .Ft bool Fn rc_deptree_update_needed void
.Ft RC_DEPTREE Fn rc_deptree_load 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. when done.
.Pp .Pp
.Fn rc_deptree_depend , .Fn rc_deptree_depend ,
.Fn rc_deptree_depends .Fn rc_deptree_depends
and and
.Fn rc_deptree_order .Fn rc_deptree_order
return a list of services from the return a list of services from the

View File

@ -31,7 +31,7 @@
.Sh LIBRARY .Sh LIBRARY
Run Command library (librc, -lrc) Run Command library (librc, -lrc)
.Sh SYNOPSIS .Sh SYNOPSIS
.In rc.h .In rc.h
.Ft "char *" Fn rc_runlevel_get void .Ft "char *" Fn rc_runlevel_get void
.Ft bool Fn rc_runlevel_exists .Ft bool Fn rc_runlevel_exists
.Ft "RC_STRINGLIST *" Fn rc_runlevel_list void .Ft "RC_STRINGLIST *" Fn rc_runlevel_list void

View File

@ -37,7 +37,7 @@
.Sh LIBRARY .Sh LIBRARY
Run Command library (librc, -lrc) Run Command library (librc, -lrc)
.Sh SYNOPSIS .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_add "const char *runlevel" "const char *service"
.Ft bool Fn rc_service_delete "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 .Ft bool Fo rc_service_daemon_set

View File

@ -32,7 +32,7 @@
Run Command library (librc, -lrc) Run Command library (librc, -lrc)
.Sh SYNOPSIS .Sh SYNOPSIS
.In rc.h .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_add "RC_STRINGLIST *list" "const char *item"
.Ft "RC_STRING *" Fn rc_stringlist_addu "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" .Ft bool Fn rc_stringlist_delete RC_STRINGLIST "const char *item"

View File

@ -25,7 +25,7 @@
.Dt RUNSCRIPT 8 SMM .Dt RUNSCRIPT 8 SMM
.Os OpenRC .Os OpenRC
.Sh NAME .Sh NAME
.Nm runscript .Nm runscript
.Nd a means of hooking shell commands into a service .Nd a means of hooking shell commands into a service
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
@ -135,7 +135,7 @@ Here is a list of the functions you can use in a
.Ic depend .Ic depend
function. You simply pass the names of the services to it to add to that function. You simply pass the names of the services to it to add to that
dependency type, or prefix it with ! to remove it. dependency type, or prefix it with ! to remove it.
.Bl -tag -width "RC_DEFAULTLEVEL" .Bl -tag -width "RC_DEFAULTLEVEL"
.It Ic need .It Ic need
The service will refuse to start until needed services have started and it 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. 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. this keyword if your service may take longer than 60 seconds to start.
.It Dv -jail .It Dv -jail
When in a jail, exclude this service from any dependencies. The service can When in a jail, exclude this service from any dependencies. The service can
still be run directly. Set via still be run directly. Set via
.Ic rc_sys .Ic rc_sys
in in
.Pa /etc/rc.conf .Pa /etc/rc.conf
.It Dv -lxc .It Dv -lxc
Same as -jail, but for Linux Resource Containers (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 .Sh ENVIRONMENT
.Nm .Nm
sets the following environment variables for use in the service scripts: 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 .It Va RC_SVCNAME
Name of the service. Name of the service.
.It Va RC_RUNLEVEL .It Va RC_RUNLEVEL
@ -418,7 +418,7 @@ depend()
_need=`service_get_value need` _need=`service_get_value need`
else else
if _need_dbus; then if _need_dbus; then
_need="${_need} dbus" _need="${_need} dbus"
fi fi
fi fi
need ${_need} need ${_need}

View File

@ -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. daemon is still running. If not, then the service is marked as crashed.
.Pp .Pp
Here are the options to specify the daemon and how it should start or stop: 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 .It Fl x , -exec Ar daemon
The The
.Ar daemon .Ar daemon

View File

@ -53,6 +53,6 @@ check test::
# so we ensure that it has a bogus argument # so we ensure that it has a bogus argument
CLEANFILES+= ${OBJS} CLEANFILES+= ${OBJS}
clean: 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 include ${MK}/gitignore.mk

View File

@ -4,7 +4,7 @@
# Released under the 2-clause BSD license. # Released under the 2-clause BSD license.
_+_ ?= + _+_ ?= +
ECHODIR ?= echo ECHODIR ?= echo
_SUBDIR = @${_+_}for x in ${SUBDIR}; do \ _SUBDIR = @${_+_}for x in ${SUBDIR}; do \
if test -d $$x; then \ if test -d $$x; then \
${ECHODIR} "===> ${DIRPRFX}$$x (${@:realinstall=install})"; \ ${ECHODIR} "===> ${DIRPRFX}$$x (${@:realinstall=install})"; \

View File

@ -10,7 +10,7 @@ RANLIB?= ranlib
SED?= sed SED?= sed
SH= /bin/sh SH= /bin/sh
PREFIX?= PREFIX?=
_UPREFIX_SH= case "${PREFIX}" in "") echo /usr;; *) echo "${PREFIX}";; esac _UPREFIX_SH= case "${PREFIX}" in "") echo /usr;; *) echo "${PREFIX}";; esac
_UPREFIX:= $(shell ${_UPREFIX_SH}) _UPREFIX:= $(shell ${_UPREFIX_SH})
UPREFIX= ${_UPREFIX} UPREFIX= ${_UPREFIX}
@ -43,6 +43,6 @@ MANDIR?= ${MANPREFIX}/man
MANMODE?= 0444 MANMODE?= 0444
DOCDIR?= ${UPREFIX}/share/doc DOCDIR?= ${UPREFIX}/share/doc
DOCMODE?= 0644 DOCMODE?= 0644
CONFMODE?= 0644 CONFMODE?= 0644

View File

@ -10,7 +10,7 @@ si::sysinit:/sbin/rc sysinit
# Further system initialization, brings up the boot runlevel. # Further system initialization, brings up the boot runlevel.
rc::bootwait:/sbin/rc boot rc::bootwait:/sbin/rc boot
l0:0:wait:/sbin/rc shutdown l0:0:wait:/sbin/rc shutdown
l0s:0:wait:/sbin/halt -dhip l0s:0:wait:/sbin/halt -dhip
l1:S1:wait:/sbin/rc single l1:S1:wait:/sbin/rc single
l2:2:wait:/sbin/rc nonetwork l2:2:wait:/sbin/rc nonetwork