From: Frank Brehm Date: Tue, 20 Dec 2016 16:19:47 +0000 (+0100) Subject: committing changes in /etc after emerge run X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=431c3f76b7fcda45dddbb095daf37374268d25d4;p=config%2Fberta%2Fetc.git committing changes in /etc after emerge run Package changes: --- diff --git a/.etckeeper b/.etckeeper index 2ac131a..ab583d0 100755 --- a/.etckeeper +++ b/.etckeeper @@ -306,7 +306,6 @@ maybe chmod 0755 'init.d/mount-ro' maybe chmod 0755 'init.d/net-online' maybe chmod 0755 'init.d/net.lo' maybe chmod 0755 'init.d/netmount' -maybe chmod 0755 'init.d/nullmailer' maybe chmod 0755 'init.d/numlock' maybe chmod 0755 'init.d/osclock' maybe chmod 0755 'init.d/pciparm' diff --git a/init.d/nullmailer b/init.d/nullmailer deleted file mode 100755 index 264f2d6..0000000 --- a/init.d/nullmailer +++ /dev/null @@ -1,51 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later -# $Id$ - -command="/usr/sbin/nullmailer-send" - -start_stop_daemon_args="--chdir /var/nullmailer --user nullmail:nullmail" - -required_dirs="/var/nullmailer" -pidfile="/run/nullmailer.pid" -command_background="true" -command_args="-s" - -depend() { - use net logger -} - -checkconfig() { - local error=0 - local f=/etc/nullmailer/me - if [ ! -s ${f} ]; then - eerror "${f} does not exist" - error=1 - fi - f=/etc/nullmailer/defaultdomain - if [ ! -s ${f} ]; then - eerror "${f} does not exist" - error=1 - fi - if [ ${error} -eq 1 ]; then - einfo "You need to run 'emerge --config nullmailer'!" - fi - if [ -e /service/nullmailer ]; then - eerror "Nullmailer is already running under svscan!" - error=2 - fi - if [ ${error} -ne 0 ]; then - return 1 - else - return 0 - fi -} - -start_pre() { - checkconfig -} - -stop_pre() { - checkconfig # to avoid init.d stopping svscan instance -}