From: Frank Brehm Date: Mon, 7 Aug 2017 04:46:21 +0000 (+0200) Subject: saving uncommitted changes in /etc prior to emerge run X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=866e2d974d8c9c36b9bc81a55a00d63a40bb2d8b;p=config%2Fbruni%2Fetc.git saving uncommitted changes in /etc prior to emerge run --- diff --git a/conf.d/agetty b/conf.d/agetty index 012eb8de..527ce4c2 100644 --- a/conf.d/agetty +++ b/conf.d/agetty @@ -2,7 +2,7 @@ #baud="" # set the terminal type -#termtype="linux" +#term_type="linux" # extra options to pass to agetty for this port #agetty_options="" diff --git a/conf.d/killprocs b/conf.d/killprocs index 0cf10d0d..76a2bc9c 100644 --- a/conf.d/killprocs +++ b/conf.d/killprocs @@ -1,3 +1,6 @@ -# If you wish to pass any options to killall5 during shutdown, +# If you wish to pass any options to kill_all during shutdown, # you should do so here. +# +# The setting is called killall5_opts because the options here are meant +# to be identical to those you could pass to killall5. killall5_opts="" diff --git a/init.d/agetty b/init.d/agetty index bad02184..d2c31fc5 100755 --- a/init.d/agetty +++ b/init.d/agetty @@ -14,7 +14,7 @@ supervisor=supervise-daemon port="${RC_SVCNAME#*.}" term_type="${term_type:-linux}" command=/sbin/agetty -command_args_foreground="${agetty_options} ${port} ${baud} ${termtype}" +command_args_foreground="${agetty_options} ${port} ${baud} ${term_type}" pidfile="/run/${RC_SVCNAME}.pid" depend() { diff --git a/init.d/bootmisc b/init.d/bootmisc index b42c14f5..976ec195 100755 --- a/init.d/bootmisc +++ b/init.d/bootmisc @@ -241,7 +241,7 @@ stop() { # Write a halt record if we're shutting down if [ "$RC_RUNLEVEL" = shutdown ]; then - [ "$RC_UNAME" = Linux ] && halt -w + [ "$RC_UNAME" = Linux ] && openrc-shutdown -w if [ "$RC_SYS" = OPENVZ ]; then yesno $RC_REBOOT && printf "" >/reboot fi diff --git a/init.d/hostname b/init.d/hostname index 81969f8b..9b53c61a 100755 --- a/init.d/hostname +++ b/init.d/hostname @@ -11,7 +11,8 @@ description="Sets the hostname of the machine." -depend() { +depend() +{ after clock keyword -docker -lxc -prefix -systemd-nspawn } @@ -20,12 +21,12 @@ start() { local h source x if [ -s /etc/hostname ] && [ -r /etc/hostname ]; then - read h x /dev/null eend 0 fi