From 32322960234c8ec91e0d42835a3ec5ee63305070 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 2 Feb 2019 11:00:00 +0100 Subject: Adding upstream version 20190202. Signed-off-by: Daniel Baumann --- system-config/backend/systemd/live-config.systemd | 24 +++++++++++++++ system-config/backend/sysvinit/live-config.init | 36 +++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 system-config/backend/systemd/live-config.systemd create mode 100755 system-config/backend/sysvinit/live-config.init (limited to 'system-config/backend') diff --git a/system-config/backend/systemd/live-config.systemd b/system-config/backend/systemd/live-config.systemd new file mode 100644 index 0000000..ed7069b --- /dev/null +++ b/system-config/backend/systemd/live-config.systemd @@ -0,0 +1,24 @@ +## live-config - System Configuration Components +## +## live-config contains the components that configure a live system during +## the boot process (late userspace). +## +## This is the systemd service for live-config. + + +[Unit] +Description=live-config contains the components that configure a live system during the boot process (late userspace). +Documentation=man:live-config +Before=basic.target udev.service +After=local-fs.target +DefaultDependencies=no +ConditionPathExists=/bin/live-config +ConditionKernelCommandLine=boot=live + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/bin/live-config + +[Install] +WantedBy=basic.target diff --git a/system-config/backend/sysvinit/live-config.init b/system-config/backend/sysvinit/live-config.init new file mode 100755 index 0000000..270de99 --- /dev/null +++ b/system-config/backend/sysvinit/live-config.init @@ -0,0 +1,36 @@ +#!/bin/sh + +## live-config contains the components that configure a live system during +## the boot process (late userspace). +## +## This is the sysvinit initscript for live-config. + + +### BEGIN INIT INFO +# Provides: live-config +# Required-Start: +# Required-Stop: +# Should-Start: +# Should-Stop: +# Default-Start: S +# Default-Stop: +# Short-Description: live-config - System Configuration Components +# Description: live-config contains the components that configure a +# live system during the boot process (late userspace). +# X-Start-Before: mountkernfs +# X-Stop-After: +# X-Interactive: true +### END INIT INFO + +case "${1}" in + start) + if [ -e /bin/live-config ] + then + /bin/live-config ${@} + fi + ;; + + force-reload|restart|stop) + + ;; +esac -- cgit v1.2.3