From 06d8eb989b8c1857b4052b0c9c6021e049243da5 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 8 Nov 2017 01:26:14 +0100 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- avahi/avahi-autoipd.action | 1 + avahi/avahi-daemon.conf | 12 ++++++------ init.d/avahi-daemon | 4 ++-- init.d/avahi-dnsconfd | 4 ++-- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/avahi/avahi-autoipd.action b/avahi/avahi-autoipd.action index c2db9942..66dbb331 100755 --- a/avahi/avahi-autoipd.action +++ b/avahi/avahi-autoipd.action @@ -41,6 +41,7 @@ if [ -x /bin/ip -o -x /sbin/ip ] ; then case "$1" in BIND) + ip addr flush dev "$2" label "$2:avahi" ip addr add "$3"/16 brd 169.254.255.255 label "$2:avahi" scope link dev "$2" ip route add default dev "$2" metric "$METRIC" scope link ||: ;; diff --git a/avahi/avahi-daemon.conf b/avahi/avahi-daemon.conf index 95166f80..ff9a4c58 100644 --- a/avahi/avahi-daemon.conf +++ b/avahi/avahi-daemon.conf @@ -60,9 +60,9 @@ publish-workstation=no [rlimits] #rlimit-as= -rlimit-core=0 -rlimit-data=4194304 -rlimit-fsize=0 -rlimit-nofile=768 -rlimit-stack=4194304 -rlimit-nproc=3 +#rlimit-core=0 +#rlimit-data=8388608 +#rlimit-fsize=0 +#rlimit-nofile=768 +#rlimit-stack=8388608 +#rlimit-nproc=3 diff --git a/init.d/avahi-daemon b/init.d/avahi-daemon index 257116e9..ae61d6ef 100755 --- a/init.d/avahi-daemon +++ b/init.d/avahi-daemon @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2007 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 extra_started_commands="reload" diff --git a/init.d/avahi-dnsconfd b/init.d/avahi-dnsconfd index daf36c8b..47184050 100755 --- a/init.d/avahi-dnsconfd +++ b/init.d/avahi-dnsconfd @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2007 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 extra_started_commands="reload" -- 2.39.5