From 999619e374ba3183fa358ac21a9f7baa954e3df1 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 8 Jan 2018 18:11:22 +0100 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- conf.d/agetty | 3 +++ init.d/agetty | 1 + init.d/sysfs | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/conf.d/agetty b/conf.d/agetty index 527ce4c..03acee6 100644 --- a/conf.d/agetty +++ b/conf.d/agetty @@ -1,3 +1,6 @@ +# make agetty quiet +#quiet="yes" + # Set the baud rate of the terminal line #baud="" diff --git a/init.d/agetty b/init.d/agetty index d2c31fc..79043e8 100755 --- a/init.d/agetty +++ b/init.d/agetty @@ -16,6 +16,7 @@ term_type="${term_type:-linux}" command=/sbin/agetty command_args_foreground="${agetty_options} ${port} ${baud} ${term_type}" pidfile="/run/${RC_SVCNAME}.pid" +export EINFO_QUIET="${quiet:-yes}" depend() { after local diff --git a/init.d/sysfs b/init.d/sysfs index d257543..5af64e8 100755 --- a/init.d/sysfs +++ b/init.d/sysfs @@ -118,7 +118,7 @@ cgroup1_base() fi if ! mountinfo -q /sys/fs/cgroup/openrc; then - local agent="/lib64/rc/sh/cgroup-release-agent.sh" + local agent="${RC_LIBEXECDIR}/sh/cgroup-release-agent.sh" mkdir /sys/fs/cgroup/openrc mount -n -t cgroup \ -o none,${sysfs_opts},name=openrc,release_agent="$agent" \ -- 2.39.5