mirror of
https://github.com/systemd/systemd
synced 2024-10-06 16:21:34 +00:00
s/commandline/command line/g
This commit is contained in:
parent
6d0f91bf55
commit
3f85ef0f05
2
TODO
2
TODO
|
@ -14,7 +14,7 @@ Bugfixes:
|
||||||
Environment=ONE='one' "TWO='two two' too" THREE=
|
Environment=ONE='one' "TWO='two two' too" THREE=
|
||||||
ExecStart=/bin/python3 -c 'import sys;print(sys.argv)' $ONE $TWO $THREE
|
ExecStart=/bin/python3 -c 'import sys;print(sys.argv)' $ONE $TWO $THREE
|
||||||
|
|
||||||
* MEMORY return code is overloaded for syntax errors in the commandline.
|
* MEMORY return code is overloaded for syntax errors in the command line.
|
||||||
str_split_quoted() should return a real return code, so spawn_child can
|
str_split_quoted() should return a real return code, so spawn_child can
|
||||||
report the failure properly.
|
report the failure properly.
|
||||||
|
|
||||||
|
|
|
@ -89,7 +89,7 @@ AC_DEFUN([CC_NOUNDEFINED], [
|
||||||
*-freebsd* | *-openbsd*) ;;
|
*-freebsd* | *-openbsd*) ;;
|
||||||
*)
|
*)
|
||||||
dnl First of all check for the --no-undefined variant of GNU ld. This allows
|
dnl First of all check for the --no-undefined variant of GNU ld. This allows
|
||||||
dnl for a much more readable commandline, so that people can understand what
|
dnl for a much more readable command line, so that people can understand what
|
||||||
dnl it does without going to look for what the heck -z defs does.
|
dnl it does without going to look for what the heck -z defs does.
|
||||||
for possible_flags in "-Wl,--no-undefined" "-Wl,-z,defs"; do
|
for possible_flags in "-Wl,--no-undefined" "-Wl,-z,defs"; do
|
||||||
CC_CHECK_LDFLAGS([$possible_flags], [LDFLAGS_NOUNDEFINED="$possible_flags"])
|
CC_CHECK_LDFLAGS([$possible_flags], [LDFLAGS_NOUNDEFINED="$possible_flags"])
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
as an SVG graph. Normally, systemd-bootchart
|
as an SVG graph. Normally, systemd-bootchart
|
||||||
is invoked by the kernel by passing
|
is invoked by the kernel by passing
|
||||||
<option>init=<filename>/usr/lib/systemd/systemd-bootchart</filename></option>
|
<option>init=<filename>/usr/lib/systemd/systemd-bootchart</filename></option>
|
||||||
on the kernel commandline. systemd-bootchart will then
|
on the kernel command line. systemd-bootchart will then
|
||||||
fork the real init off to resume normal system
|
fork the real init off to resume normal system
|
||||||
startup, while monitoring and logging startup
|
startup, while monitoring and logging startup
|
||||||
information in the background.
|
information in the background.
|
||||||
|
@ -125,7 +125,7 @@
|
||||||
<listitem><para>One can execute
|
<listitem><para>One can execute
|
||||||
<command>systemd-bootchart</command>
|
<command>systemd-bootchart</command>
|
||||||
as normal application from the
|
as normal application from the
|
||||||
commandline. In this mode it is highly
|
command line. In this mode it is highly
|
||||||
recommended to pass the
|
recommended to pass the
|
||||||
<option>-r</option> flag in order to
|
<option>-r</option> flag in order to
|
||||||
not graph the time elapsed since boot
|
not graph the time elapsed since boot
|
||||||
|
|
|
@ -97,7 +97,7 @@
|
||||||
only configuration files in this subdirectory (across
|
only configuration files in this subdirectory (across
|
||||||
all configuration paths) will be analyzed. Otherwise,
|
all configuration paths) will be analyzed. Otherwise,
|
||||||
all configuration files will be analyzed. If the
|
all configuration files will be analyzed. If the
|
||||||
commandline argument is not given at all, all
|
command line argument is not given at all, all
|
||||||
configuration files will be analyzed. See below for
|
configuration files will be analyzed. See below for
|
||||||
some examples.</para>
|
some examples.</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
|
@ -215,7 +215,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
<para>All command-line arguments after the first non-option
|
<para>All command-line arguments after the first non-option
|
||||||
argument become part of the commandline of the launched
|
argument become part of the command line of the launched
|
||||||
process. If a command is run as service unit, its first argument
|
process. If a command is run as service unit, its first argument
|
||||||
needs to be an absolute binary path.</para>
|
needs to be an absolute binary path.</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
|
@ -231,7 +231,7 @@
|
||||||
be set. <literal>NamePolicy</literal> may be
|
be set. <literal>NamePolicy</literal> may be
|
||||||
disabled by specifying
|
disabled by specifying
|
||||||
<literal>net.ifnames=0</literal> on the kernel
|
<literal>net.ifnames=0</literal> on the kernel
|
||||||
commandline. Each of the policies may fail, and
|
command line. Each of the policies may fail, and
|
||||||
the first successful one is used. The name is
|
the first successful one is used. The name is
|
||||||
not set directly, but is exported to udev as
|
not set directly, but is exported to udev as
|
||||||
the property <literal>ID_NET_NAME</literal>,
|
the property <literal>ID_NET_NAME</literal>,
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
In addition, <filename>systemd-udevd</filename> can be configured
|
In addition, <filename>systemd-udevd</filename> can be configured
|
||||||
by command-line options and the kernel commandline (see
|
by command-line options and the kernel command line (see
|
||||||
<citerefentry><refentrytitle>systemd-udevd</refentrytitle><manvolnum>8</manvolnum></citerefentry>).
|
<citerefentry><refentrytitle>systemd-udevd</refentrytitle><manvolnum>8</manvolnum></citerefentry>).
|
||||||
</para>
|
</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
|
@ -165,7 +165,7 @@ int main(int argc, char *argv[]) {
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
/* journald will die if not gone yet. The log target defaults
|
/* journald will die if not gone yet. The log target defaults
|
||||||
* to console, but may have been changed by commandline options. */
|
* to console, but may have been changed by command line options. */
|
||||||
|
|
||||||
log_close_console(); /* force reopen of /dev/console */
|
log_close_console(); /* force reopen of /dev/console */
|
||||||
log_open();
|
log_open();
|
||||||
|
|
|
@ -381,7 +381,7 @@ int main(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
If options are specified on the kernel commandline, let them override
|
If options are specified on the kernel command line, let them override
|
||||||
the ones from crypttab.
|
the ones from crypttab.
|
||||||
*/
|
*/
|
||||||
STRV_FOREACH(i, arg_options) {
|
STRV_FOREACH(i, arg_options) {
|
||||||
|
@ -463,7 +463,7 @@ next:
|
||||||
|
|
||||||
if (arg_options) {
|
if (arg_options) {
|
||||||
/*
|
/*
|
||||||
If options are specified on the kernel commandline, use them.
|
If options are specified on the kernel command line, use them.
|
||||||
*/
|
*/
|
||||||
char **j;
|
char **j;
|
||||||
|
|
||||||
|
|
|
@ -425,7 +425,7 @@ static int add_root_mount(void) {
|
||||||
const char *opts;
|
const char *opts;
|
||||||
|
|
||||||
if (isempty(arg_root_what)) {
|
if (isempty(arg_root_what)) {
|
||||||
log_debug("Could not find a root= entry on the kernel commandline.");
|
log_debug("Could not find a root= entry on the kernel command line.");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -521,7 +521,7 @@ int main(int argc, char* argv[]) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (get_process_comm(pid, &comm) < 0) {
|
if (get_process_comm(pid, &comm) < 0) {
|
||||||
log_warning("Failed to get COMM, falling back to the commandline.");
|
log_warning("Failed to get COMM, falling back to the command line.");
|
||||||
comm = strv_join(argv + INFO_COMM + 1, " ");
|
comm = strv_join(argv + INFO_COMM + 1, " ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ bool manager_all_configured(Manager *m) {
|
||||||
char **ifname;
|
char **ifname;
|
||||||
bool one_ready = false;
|
bool one_ready = false;
|
||||||
|
|
||||||
/* wait for all the links given on the commandline to appear */
|
/* wait for all the links given on the command line to appear */
|
||||||
STRV_FOREACH(ifname, m->interfaces) {
|
STRV_FOREACH(ifname, m->interfaces) {
|
||||||
l = hashmap_get(m->links_by_name, *ifname);
|
l = hashmap_get(m->links_by_name, *ifname);
|
||||||
if (!l) {
|
if (!l) {
|
||||||
|
|
|
@ -254,7 +254,7 @@ static void reject(char *us)
|
||||||
* kickout
|
* kickout
|
||||||
*
|
*
|
||||||
* Remove all IDs in the internal list which are not part
|
* Remove all IDs in the internal list which are not part
|
||||||
* of the list passed via the commandline.
|
* of the list passed via the command line.
|
||||||
*/
|
*/
|
||||||
static void kickout(void)
|
static void kickout(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -196,7 +196,7 @@ int link_config_load(link_config_ctx *ctx) {
|
||||||
|
|
||||||
if (!enable_name_policy()) {
|
if (!enable_name_policy()) {
|
||||||
ctx->enable_name_policy = false;
|
ctx->enable_name_policy = false;
|
||||||
log_info("Network interface NamePolicy= disabled on kernel commandline, ignoring.");
|
log_info("Network interface NamePolicy= disabled on kernel command line, ignoring.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* update timestamp */
|
/* update timestamp */
|
||||||
|
|
|
@ -949,7 +949,7 @@ static int systemd_fds(struct udev *udev, int *rctrl, int *rnetlink) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* read the kernel commandline, in case we need to get into debug mode
|
* read the kernel command line, in case we need to get into debug mode
|
||||||
* udev.log-priority=<level> syslog priority
|
* udev.log-priority=<level> syslog priority
|
||||||
* udev.children-max=<number of workers> events are fully serialized if set to 1
|
* udev.children-max=<number of workers> events are fully serialized if set to 1
|
||||||
* udev.exec-delay=<number of seconds> delay execution of every executed program
|
* udev.exec-delay=<number of seconds> delay execution of every executed program
|
||||||
|
|
Loading…
Reference in a new issue