чување ca3567b648f5dde5f55101cc911fe0a1185fbb45
родитељ 18312868716806b388efcccd893d5ba5a19e805a
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Tue, 26 Jul 2022 14:02:59 +0200
rc.conf.5: New file
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Diffstat:
измењених датотека: 3, додавања: 76(+), брисања: 2(-)
diff --git a/man/man5/rc.conf.5 b/man/man5/rc.conf.5
@@ -0,0 +1,74 @@
+.Dd July 26, 2022
+.Dt RC.CONF 5
+.Os Galeb 2.0
+.Sh NAME
+.Nm rc.conf
+.Nd init configuration
+.Sh DESCRIPTION
+The file
+.Pa /etc/rc.conf
+is sourced by
+.Xr rc.init 1
+at boot and the shell variables defined in it are used to initialize the system.
+It is a simple shell script, which should define the special environment
+variables.
+.Pp
+Currently, that includes the following:
+.Bl -tag -width ".Ev HARDWARECLOCK" -offset indent
+.It Ev FONT
+passed to
+.Xr setfont 1
+on all activated ttys (by default, tty[1-4]).
+.
+.It Ev FONT_MAP
+passed with the argument
+.Fl m
+to
+.Xr setfont 1 .
+.
+.It Ev FONT_UNIMAP
+passed with the argument
+.Fl u
+to
+.Xr setfont 1 .
+.
+.It Ev KEYMAP
+passed to
+.Xr loadkeys 1 .
+.
+.It Ev INTERFACE
+used to bring up an interface with
+.Xr ip 1 .
+.
+.It Ev KILLDELAY
+how long to wait between sending the
+.Dv SIGKILL
+and
+.Dv SIGTERM
+on system shutdown.
+.
+.It Ev LANG
+default locale for the system. Can be overridden by the user's shell
+configuration files.
+.
+.It Ev HOSTNAME
+system hostname. If not set here, the first line of the file
+.Pa /etc/hostname
+will be used, or the fallback
+.Dq galeb
+if that file is also nonexistant.
+.
+.It Ev TIMEZONE
+system timezone. If not set here, and the link
+.Pa /etc/localtime
+is not present, it will be created pointing to the file
+.Pa /share/zoneinfo/GMT
+by default.
+.El
+.Sh "SEE ALSO"
+.Bl -item -offset indent
+.It
+.Pa /bin/svc.d/avail/hwclock ,
+.It
+.Pa /bin/svc.d/default/hwclock .
+.El
diff --git a/man/man8/service.8 b/man/man8/service.8
@@ -59,7 +59,7 @@ starts the service.
stops the service.
.El
.Sh FILES
-.Bl -tag -width ".Pa /bin/svc.d/bin"
+.Bl -tag -width ".Pa /bin/svc.d/avail"
.It Pa /bin/svc.d/avail
service scripts which are available for activation.
.It Pa /bin/svc.d/default
diff --git a/man/man8/svc.8 b/man/man8/svc.8
@@ -72,7 +72,7 @@ starts the service
.Dq Ar service .
.El
.Sh FILES
-.Bl -tag -width ".Pa /bin/svc.d/bin"
+.Bl -tag -width ".Pa /bin/svc.d/avail"
.It Pa /bin/svc.d/avail
service scripts which are available for activation.
.It Pa /bin/svc.d/default