2013-06-13 17:43:52 +02:00
|
|
|
Set NumLock according to /etc/sysconfig/keyboard.
|
2013-04-13 13:09:53 +02:00
|
|
|
|
2013-06-13 17:43:52 +02:00
|
|
|
https://bugzilla.novell.com/show_bug.cgi?id=746595
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
Stanislav Brabec <sbrabec@suse.cz>
|
|
|
|
Cristian Rodríguez <crrodriguez@opensuse.org>
|
2013-04-13 13:09:53 +02:00
|
|
|
|
- Update to release 205:
+ two new unit types have been introduced:
- Scope units are very similar to service units, however, are
created out of pre-existing processes -- instead of PID 1
forking off the processes.
- Slice units may be used to partition system resources in an
hierarchial fashion and then assign other units to them. By
default there are now three slices: system.slice (for all
system services), user.slice (for all user sessions),
machine.slice (for VMs and containers).
+ new concept of "transient" units, which are created at runtime
using an API and not based on configuration from disk.
+ logind has been updated to make use of scope and slice units to
manage user sessions. Logind will no longer create cgroups
hierchies itself but will relying on PID 1.
+ A new mini-daemon "systemd-machined" has been added which
may be used by virtualization managers to register local
VMs/containers. machinectl tool has been added to query
meta-data from systemd-machined.
+ Low-level cgroup configuration options ControlGroup=,
ControlGroupModify=, ControlGroupPersistent=,
ControlGroupAttribute= have been removed. High-level attribute
settings or slice units should be used instead?
+ A new bus call SetUnitProperties() has been added to alter
various runtime parameters of a unit, including cgroup
parameters. systemctl gained set-properties command to wrap
this call.
+ A new tool "systemd-run" has been added which can be used to
run arbitrary command lines as transient services or scopes,
while configuring a number of settings via the command
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=412
2013-07-04 17:28:49 +02:00
|
|
|
Index: systemd-205/src/vconsole/vconsole-setup.c
|
2013-06-11 13:22:32 +02:00
|
|
|
===================================================================
|
- Update to release 205:
+ two new unit types have been introduced:
- Scope units are very similar to service units, however, are
created out of pre-existing processes -- instead of PID 1
forking off the processes.
- Slice units may be used to partition system resources in an
hierarchial fashion and then assign other units to them. By
default there are now three slices: system.slice (for all
system services), user.slice (for all user sessions),
machine.slice (for VMs and containers).
+ new concept of "transient" units, which are created at runtime
using an API and not based on configuration from disk.
+ logind has been updated to make use of scope and slice units to
manage user sessions. Logind will no longer create cgroups
hierchies itself but will relying on PID 1.
+ A new mini-daemon "systemd-machined" has been added which
may be used by virtualization managers to register local
VMs/containers. machinectl tool has been added to query
meta-data from systemd-machined.
+ Low-level cgroup configuration options ControlGroup=,
ControlGroupModify=, ControlGroupPersistent=,
ControlGroupAttribute= have been removed. High-level attribute
settings or slice units should be used instead?
+ A new bus call SetUnitProperties() has been added to alter
various runtime parameters of a unit, including cgroup
parameters. systemctl gained set-properties command to wrap
this call.
+ A new tool "systemd-run" has been added which can be used to
run arbitrary command lines as transient services or scopes,
while configuring a number of settings via the command
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=412
2013-07-04 17:28:49 +02:00
|
|
|
--- systemd-205.orig/src/vconsole/vconsole-setup.c
|
|
|
|
+++ systemd-205/src/vconsole/vconsole-setup.c
|
2013-06-13 17:43:52 +02:00
|
|
|
@@ -42,6 +42,10 @@
|
|
|
|
#include "fileio.h"
|
|
|
|
#include "strv.h"
|
|
|
|
|
|
|
|
+#define BIOS_DATA_AREA 0x400
|
|
|
|
+#define BDA_KEYBOARD_STATUS_FLAGS_4 0x97
|
|
|
|
+#define BDA_KSF4_NUMLOCK_MASK 0x02
|
|
|
|
+
|
|
|
|
static bool is_vconsole(int fd) {
|
|
|
|
unsigned char data[1];
|
|
|
|
|
|
|
|
@@ -321,12 +325,14 @@ int main(int argc, char **argv) {
|
2013-04-13 13:09:53 +02:00
|
|
|
char *vc_kbd_delay = NULL;
|
|
|
|
char *vc_kbd_rate = NULL;
|
|
|
|
char *vc_kbd_disable_caps_lock = NULL;
|
|
|
|
+ char *vc_kbd_numlock = NULL;
|
|
|
|
char *vc_compose_table = NULL;
|
|
|
|
pid_t kbd_rate_pid = 0, compose_table_pid = 0;
|
|
|
|
#endif
|
|
|
|
int fd = -1;
|
|
|
|
bool utf8;
|
|
|
|
bool disable_capslock = false;
|
|
|
|
+ bool numlock = false;
|
|
|
|
pid_t font_pid = 0, keymap_pid = 0;
|
|
|
|
bool font_copy = false;
|
|
|
|
int r = EXIT_FAILURE;
|
2013-06-13 17:43:52 +02:00
|
|
|
@@ -389,6 +395,7 @@ int main(int argc, char **argv) {
|
2013-04-13 13:09:53 +02:00
|
|
|
"KBD_DELAY", &vc_kbd_delay,
|
|
|
|
"KBD_RATE", &vc_kbd_rate,
|
|
|
|
"KBD_DISABLE_CAPS_LOCK", &vc_kbd_disable_caps_lock,
|
|
|
|
+ "KBD_NUMLOCK", &vc_kbd_numlock,
|
|
|
|
"COMPOSETABLE", &vc_compose_table,
|
|
|
|
NULL);
|
|
|
|
if (r < 0 && r != -ENOENT)
|
2013-06-13 17:43:52 +02:00
|
|
|
@@ -403,6 +410,36 @@ int main(int argc, char **argv) {
|
2013-04-13 13:09:53 +02:00
|
|
|
log_warning("Failed to read /etc/sysconfig/console: %s", strerror(-r));
|
|
|
|
|
|
|
|
disable_capslock = vc_kbd_disable_caps_lock && strcasecmp(vc_kbd_disable_caps_lock, "YES") == 0;
|
2013-06-13 17:43:52 +02:00
|
|
|
+#if defined(__i386__) || defined(__x86_64__)
|
|
|
|
+ if (vc_kbd_numlock && strcaseeq(vc_kbd_numlock, "bios")) {
|
|
|
|
+ int _cleanup_close_ fdmem;
|
|
|
|
+ char c;
|
|
|
|
+
|
|
|
|
+ fdmem = open ("/dev/mem", O_RDONLY);
|
|
|
|
+
|
|
|
|
+ if(fdmem < 0) {
|
|
|
|
+ r = EXIT_FAILURE;
|
|
|
|
+ log_error("Failed to open /dev/mem: %m");
|
|
|
|
+ goto finish;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if(lseek(fdmem, BIOS_DATA_AREA + BDA_KEYBOARD_STATUS_FLAGS_4, SEEK_SET) == (off_t) -1) {
|
|
|
|
+ r = EXIT_FAILURE;
|
|
|
|
+ log_error("Failed to seek /dev/mem: %m");
|
|
|
|
+ goto finish;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if(read (fdmem, &c, sizeof(char)) == -1) {
|
|
|
|
+ r = EXIT_FAILURE;
|
|
|
|
+ log_error("Failed to read /dev/mem: %m");
|
|
|
|
+ goto finish;
|
2013-04-13 13:09:53 +02:00
|
|
|
+ }
|
2013-06-13 17:43:52 +02:00
|
|
|
+
|
|
|
|
+ if (c & BDA_KSF4_NUMLOCK_MASK)
|
|
|
|
+ numlock = true;
|
2013-04-13 13:09:53 +02:00
|
|
|
+ } else
|
2013-06-13 17:43:52 +02:00
|
|
|
+#endif
|
|
|
|
+ numlock = vc_kbd_numlock && strcaseeq(vc_kbd_numlock, "yes");
|
2013-04-13 13:09:53 +02:00
|
|
|
|
|
|
|
#endif
|
|
|
|
}
|
2013-06-13 17:43:52 +02:00
|
|
|
@@ -425,6 +462,10 @@ int main(int argc, char **argv) {
|
2013-04-13 13:09:53 +02:00
|
|
|
finish:
|
|
|
|
if (keymap_pid > 0)
|
|
|
|
wait_for_terminate_and_warn(KBD_LOADKEYS, keymap_pid);
|
|
|
|
+ if (numlock)
|
2013-06-13 17:43:52 +02:00
|
|
|
+ touch("/run/numlock-on");
|
2013-04-13 13:09:53 +02:00
|
|
|
+ else
|
|
|
|
+ unlink("/run/numlock-on");
|
|
|
|
|
|
|
|
#ifdef HAVE_SYSV_COMPAT
|
|
|
|
if (compose_table_pid > 0)
|
2013-06-13 17:43:52 +02:00
|
|
|
@@ -444,6 +485,7 @@ finish:
|
|
|
|
free(vc_font);
|
|
|
|
free(vc_font_map);
|
|
|
|
free(vc_font_unimap);
|
|
|
|
+ free(vc_kbd_numlock);
|
|
|
|
#ifdef HAVE_SYSV_COMPAT
|
|
|
|
free(vc_kbd_delay);
|
|
|
|
free(vc_kbd_rate);
|
- Update to release 205:
+ two new unit types have been introduced:
- Scope units are very similar to service units, however, are
created out of pre-existing processes -- instead of PID 1
forking off the processes.
- Slice units may be used to partition system resources in an
hierarchial fashion and then assign other units to them. By
default there are now three slices: system.slice (for all
system services), user.slice (for all user sessions),
machine.slice (for VMs and containers).
+ new concept of "transient" units, which are created at runtime
using an API and not based on configuration from disk.
+ logind has been updated to make use of scope and slice units to
manage user sessions. Logind will no longer create cgroups
hierchies itself but will relying on PID 1.
+ A new mini-daemon "systemd-machined" has been added which
may be used by virtualization managers to register local
VMs/containers. machinectl tool has been added to query
meta-data from systemd-machined.
+ Low-level cgroup configuration options ControlGroup=,
ControlGroupModify=, ControlGroupPersistent=,
ControlGroupAttribute= have been removed. High-level attribute
settings or slice units should be used instead?
+ A new bus call SetUnitProperties() has been added to alter
various runtime parameters of a unit, including cgroup
parameters. systemctl gained set-properties command to wrap
this call.
+ A new tool "systemd-run" has been added which can be used to
run arbitrary command lines as transient services or scopes,
while configuring a number of settings via the command
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=412
2013-07-04 17:28:49 +02:00
|
|
|
Index: systemd-205/Makefile.am
|
2013-06-13 17:43:52 +02:00
|
|
|
===================================================================
|
- Update to release 205:
+ two new unit types have been introduced:
- Scope units are very similar to service units, however, are
created out of pre-existing processes -- instead of PID 1
forking off the processes.
- Slice units may be used to partition system resources in an
hierarchial fashion and then assign other units to them. By
default there are now three slices: system.slice (for all
system services), user.slice (for all user sessions),
machine.slice (for VMs and containers).
+ new concept of "transient" units, which are created at runtime
using an API and not based on configuration from disk.
+ logind has been updated to make use of scope and slice units to
manage user sessions. Logind will no longer create cgroups
hierchies itself but will relying on PID 1.
+ A new mini-daemon "systemd-machined" has been added which
may be used by virtualization managers to register local
VMs/containers. machinectl tool has been added to query
meta-data from systemd-machined.
+ Low-level cgroup configuration options ControlGroup=,
ControlGroupModify=, ControlGroupPersistent=,
ControlGroupAttribute= have been removed. High-level attribute
settings or slice units should be used instead?
+ A new bus call SetUnitProperties() has been added to alter
various runtime parameters of a unit, including cgroup
parameters. systemctl gained set-properties command to wrap
this call.
+ A new tool "systemd-run" has been added which can be used to
run arbitrary command lines as transient services or scopes,
while configuring a number of settings via the command
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=412
2013-07-04 17:28:49 +02:00
|
|
|
--- systemd-205.orig/Makefile.am
|
|
|
|
+++ systemd-205/Makefile.am
|
|
|
|
@@ -2361,6 +2361,19 @@ dist_udevrules_DATA += \
|
2013-06-13 17:43:52 +02:00
|
|
|
rules/61-accelerometer.rules
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
+numlock_on_SOURCES = \
|
|
|
|
+ src/login/numlock-on.c
|
|
|
|
+
|
|
|
|
+numlock_on_CFLAGS = \
|
|
|
|
+ $(AM_CFLAGS)
|
|
|
|
+
|
|
|
|
+udevlibexec_PROGRAMS += \
|
|
|
|
+ numlock-on
|
|
|
|
+
|
|
|
|
+dist_udevrules_DATA += \
|
|
|
|
+ rules/73-seat-numlock.rules
|
|
|
|
+
|
|
|
|
+# ------------------------------------------------------------------------------
|
|
|
|
if ENABLE_GUDEV
|
|
|
|
if ENABLE_GTK_DOC
|
|
|
|
SUBDIRS += \
|
- Update to release 205:
+ two new unit types have been introduced:
- Scope units are very similar to service units, however, are
created out of pre-existing processes -- instead of PID 1
forking off the processes.
- Slice units may be used to partition system resources in an
hierarchial fashion and then assign other units to them. By
default there are now three slices: system.slice (for all
system services), user.slice (for all user sessions),
machine.slice (for VMs and containers).
+ new concept of "transient" units, which are created at runtime
using an API and not based on configuration from disk.
+ logind has been updated to make use of scope and slice units to
manage user sessions. Logind will no longer create cgroups
hierchies itself but will relying on PID 1.
+ A new mini-daemon "systemd-machined" has been added which
may be used by virtualization managers to register local
VMs/containers. machinectl tool has been added to query
meta-data from systemd-machined.
+ Low-level cgroup configuration options ControlGroup=,
ControlGroupModify=, ControlGroupPersistent=,
ControlGroupAttribute= have been removed. High-level attribute
settings or slice units should be used instead?
+ A new bus call SetUnitProperties() has been added to alter
various runtime parameters of a unit, including cgroup
parameters. systemctl gained set-properties command to wrap
this call.
+ A new tool "systemd-run" has been added which can be used to
run arbitrary command lines as transient services or scopes,
while configuring a number of settings via the command
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=412
2013-07-04 17:28:49 +02:00
|
|
|
Index: systemd-205/rules/73-seat-numlock.rules
|
2013-06-13 17:43:52 +02:00
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
- Update to release 205:
+ two new unit types have been introduced:
- Scope units are very similar to service units, however, are
created out of pre-existing processes -- instead of PID 1
forking off the processes.
- Slice units may be used to partition system resources in an
hierarchial fashion and then assign other units to them. By
default there are now three slices: system.slice (for all
system services), user.slice (for all user sessions),
machine.slice (for VMs and containers).
+ new concept of "transient" units, which are created at runtime
using an API and not based on configuration from disk.
+ logind has been updated to make use of scope and slice units to
manage user sessions. Logind will no longer create cgroups
hierchies itself but will relying on PID 1.
+ A new mini-daemon "systemd-machined" has been added which
may be used by virtualization managers to register local
VMs/containers. machinectl tool has been added to query
meta-data from systemd-machined.
+ Low-level cgroup configuration options ControlGroup=,
ControlGroupModify=, ControlGroupPersistent=,
ControlGroupAttribute= have been removed. High-level attribute
settings or slice units should be used instead?
+ A new bus call SetUnitProperties() has been added to alter
various runtime parameters of a unit, including cgroup
parameters. systemctl gained set-properties command to wrap
this call.
+ A new tool "systemd-run" has been added which can be used to
run arbitrary command lines as transient services or scopes,
while configuring a number of settings via the command
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=412
2013-07-04 17:28:49 +02:00
|
|
|
+++ systemd-205/rules/73-seat-numlock.rules
|
2013-06-13 17:43:52 +02:00
|
|
|
@@ -0,0 +1,8 @@
|
|
|
|
+# This file is part of SUSE customization of systemd.
|
|
|
|
+#
|
|
|
|
+# systemd is free software; you can redistribute it and/or modify it
|
|
|
|
+# under the terms of the GNU General Public License as published by
|
|
|
|
+# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
+# (at your option) any later version.
|
|
|
|
+
|
|
|
|
+SUBSYSTEM=="tty", ACTION=="add", KERNEL=="tty[0-9]|tty1[0-2]", TEST=="/run/numlock-on", RUN+="numlock-on $env{DEVNAME}"
|
- Update to release 205:
+ two new unit types have been introduced:
- Scope units are very similar to service units, however, are
created out of pre-existing processes -- instead of PID 1
forking off the processes.
- Slice units may be used to partition system resources in an
hierarchial fashion and then assign other units to them. By
default there are now three slices: system.slice (for all
system services), user.slice (for all user sessions),
machine.slice (for VMs and containers).
+ new concept of "transient" units, which are created at runtime
using an API and not based on configuration from disk.
+ logind has been updated to make use of scope and slice units to
manage user sessions. Logind will no longer create cgroups
hierchies itself but will relying on PID 1.
+ A new mini-daemon "systemd-machined" has been added which
may be used by virtualization managers to register local
VMs/containers. machinectl tool has been added to query
meta-data from systemd-machined.
+ Low-level cgroup configuration options ControlGroup=,
ControlGroupModify=, ControlGroupPersistent=,
ControlGroupAttribute= have been removed. High-level attribute
settings or slice units should be used instead?
+ A new bus call SetUnitProperties() has been added to alter
various runtime parameters of a unit, including cgroup
parameters. systemctl gained set-properties command to wrap
this call.
+ A new tool "systemd-run" has been added which can be used to
run arbitrary command lines as transient services or scopes,
while configuring a number of settings via the command
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=412
2013-07-04 17:28:49 +02:00
|
|
|
Index: systemd-205/src/login/numlock-on.c
|
2013-06-13 17:43:52 +02:00
|
|
|
===================================================================
|
|
|
|
--- /dev/null
|
- Update to release 205:
+ two new unit types have been introduced:
- Scope units are very similar to service units, however, are
created out of pre-existing processes -- instead of PID 1
forking off the processes.
- Slice units may be used to partition system resources in an
hierarchial fashion and then assign other units to them. By
default there are now three slices: system.slice (for all
system services), user.slice (for all user sessions),
machine.slice (for VMs and containers).
+ new concept of "transient" units, which are created at runtime
using an API and not based on configuration from disk.
+ logind has been updated to make use of scope and slice units to
manage user sessions. Logind will no longer create cgroups
hierchies itself but will relying on PID 1.
+ A new mini-daemon "systemd-machined" has been added which
may be used by virtualization managers to register local
VMs/containers. machinectl tool has been added to query
meta-data from systemd-machined.
+ Low-level cgroup configuration options ControlGroup=,
ControlGroupModify=, ControlGroupPersistent=,
ControlGroupAttribute= have been removed. High-level attribute
settings or slice units should be used instead?
+ A new bus call SetUnitProperties() has been added to alter
various runtime parameters of a unit, including cgroup
parameters. systemctl gained set-properties command to wrap
this call.
+ A new tool "systemd-run" has been added which can be used to
run arbitrary command lines as transient services or scopes,
while configuring a number of settings via the command
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=412
2013-07-04 17:28:49 +02:00
|
|
|
+++ systemd-205/src/login/numlock-on.c
|
2013-06-13 17:43:52 +02:00
|
|
|
@@ -0,0 +1,34 @@
|
|
|
|
+/*
|
|
|
|
+ * numlock-on.c: Turn numlock-on
|
|
|
|
+ *
|
|
|
|
+ * This file may be freely copied under the terms of the GNU General
|
|
|
|
+ * Public License (GPL), version 2, or at your option any later
|
|
|
|
+ * version.
|
|
|
|
+
|
|
|
|
+ * Copyright (C) 2013 Stanislav Brabec, SUSE
|
|
|
|
+ *
|
|
|
|
+ * based on setleds.c, which is
|
|
|
|
+ * Copyright (C) 1994-1999 Andries E. Brouwer
|
|
|
|
+ */
|
|
|
|
+
|
|
|
|
+#include <stdio.h>
|
|
|
|
+#include <stdlib.h>
|
|
|
|
+#include <sys/ioctl.h>
|
|
|
|
+#include <linux/kd.h>
|
|
|
|
+
|
|
|
|
+int
|
|
|
|
+main(int argc, char **argv) {
|
|
|
|
+ char flags;
|
|
|
|
+
|
|
|
|
+ if (ioctl(0, KDGKBLED, &flags)) {
|
|
|
|
+ perror("KDGKBLED");
|
|
|
|
+ exit(1);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (ioctl(0, KDSKBLED, flags | LED_NUM | (LED_NUM << 4))) {
|
|
|
|
+ perror("KDSKBLED");
|
|
|
|
+ exit(1);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ exit(0);
|
|
|
|
+}
|
- Update to release 205:
+ two new unit types have been introduced:
- Scope units are very similar to service units, however, are
created out of pre-existing processes -- instead of PID 1
forking off the processes.
- Slice units may be used to partition system resources in an
hierarchial fashion and then assign other units to them. By
default there are now three slices: system.slice (for all
system services), user.slice (for all user sessions),
machine.slice (for VMs and containers).
+ new concept of "transient" units, which are created at runtime
using an API and not based on configuration from disk.
+ logind has been updated to make use of scope and slice units to
manage user sessions. Logind will no longer create cgroups
hierchies itself but will relying on PID 1.
+ A new mini-daemon "systemd-machined" has been added which
may be used by virtualization managers to register local
VMs/containers. machinectl tool has been added to query
meta-data from systemd-machined.
+ Low-level cgroup configuration options ControlGroup=,
ControlGroupModify=, ControlGroupPersistent=,
ControlGroupAttribute= have been removed. High-level attribute
settings or slice units should be used instead?
+ A new bus call SetUnitProperties() has been added to alter
various runtime parameters of a unit, including cgroup
parameters. systemctl gained set-properties command to wrap
this call.
+ A new tool "systemd-run" has been added which can be used to
run arbitrary command lines as transient services or scopes,
while configuring a number of settings via the command
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=412
2013-07-04 17:28:49 +02:00
|
|
|
Index: systemd-205/units/systemd-vconsole-setup.service.in
|
2013-06-11 13:22:32 +02:00
|
|
|
===================================================================
|
- Update to release 205:
+ two new unit types have been introduced:
- Scope units are very similar to service units, however, are
created out of pre-existing processes -- instead of PID 1
forking off the processes.
- Slice units may be used to partition system resources in an
hierarchial fashion and then assign other units to them. By
default there are now three slices: system.slice (for all
system services), user.slice (for all user sessions),
machine.slice (for VMs and containers).
+ new concept of "transient" units, which are created at runtime
using an API and not based on configuration from disk.
+ logind has been updated to make use of scope and slice units to
manage user sessions. Logind will no longer create cgroups
hierchies itself but will relying on PID 1.
+ A new mini-daemon "systemd-machined" has been added which
may be used by virtualization managers to register local
VMs/containers. machinectl tool has been added to query
meta-data from systemd-machined.
+ Low-level cgroup configuration options ControlGroup=,
ControlGroupModify=, ControlGroupPersistent=,
ControlGroupAttribute= have been removed. High-level attribute
settings or slice units should be used instead?
+ A new bus call SetUnitProperties() has been added to alter
various runtime parameters of a unit, including cgroup
parameters. systemctl gained set-properties command to wrap
this call.
+ A new tool "systemd-run" has been added which can be used to
run arbitrary command lines as transient services or scopes,
while configuring a number of settings via the command
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=412
2013-07-04 17:28:49 +02:00
|
|
|
--- systemd-205.orig/units/systemd-vconsole-setup.service.in
|
|
|
|
+++ systemd-205/units/systemd-vconsole-setup.service.in
|
2013-06-11 13:22:32 +02:00
|
|
|
@@ -11,7 +11,7 @@ Documentation=man:systemd-vconsole-setup
|
2012-07-21 22:32:38 +02:00
|
|
|
DefaultDependencies=no
|
|
|
|
Conflicts=shutdown.target
|
|
|
|
After=systemd-readahead-collect.service systemd-readahead-replay.service
|
|
|
|
-Before=sysinit.target shutdown.target
|
2013-01-28 14:36:03 +01:00
|
|
|
+Before=sysinit.target shutdown.target systemd-udev-trigger.service
|
2012-10-26 14:34:44 +02:00
|
|
|
ConditionPathExists=/dev/tty0
|
2012-07-21 22:32:38 +02:00
|
|
|
|
|
|
|
[Service]
|