]> Frank Brehm's Git Trees - config/uhu1/etc.git/commitdiff
committing changes in /etc after emerge run
authorfrank <frank@uhu1.uhu-banane.de>
Mon, 19 Mar 2012 08:09:53 +0000 (09:09 +0100)
committerroot <root@uhu1.uhu-banane.de>
Mon, 19 Mar 2012 08:09:53 +0000 (09:09 +0100)
Package changes:
+sys-apps/logwatch-7.4.0

.etckeeper
cron.daily/00-logwatch [new file with mode: 0755]
logwatch/.keep_sys-apps_logwatch-0 [new file with mode: 0644]

index 79db5ef3e19026e31104f99d2034017991ac021a..7b7046694ab28141d43f72e69e5c9ccbf021e6ca 100755 (executable)
@@ -436,6 +436,7 @@ maybe chmod 0755 './cron.d'
 maybe chmod 0644 './cron.d/.keep_sys-process_vixie-cron-0'
 maybe chmod 0750 './cron.daily'
 maybe chmod 0644 './cron.daily/.keep_sys-process_cronbase-0'
+maybe chmod 0755 './cron.daily/00-logwatch'
 maybe chmod 0755 './cron.daily/logrotate.cron'
 maybe chmod 0755 './cron.daily/makewhatis'
 maybe chmod 0755 './cron.daily/mlocate'
@@ -829,6 +830,8 @@ maybe chmod 0644 './logrotate.d/openrc'
 maybe chmod 0644 './logrotate.d/rsyncd'
 maybe chmod 0644 './logrotate.d/syslog-ng'
 maybe chmod 0644 './logrotate.d/ulogd'
+maybe chmod 0755 './logwatch'
+maybe chmod 0644 './logwatch/.keep_sys-apps_logwatch-0'
 maybe chmod 0755 './lvm'
 maybe chmod 0700 './lvm/archive'
 maybe chmod 0600 './lvm/archive/vg00_00000.vg'
diff --git a/cron.daily/00-logwatch b/cron.daily/00-logwatch
new file mode 100755 (executable)
index 0000000..4d4a222
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ -x /usr/sbin/logwatch.pl ] ; then
+       exec /usr/sbin/logwatch.pl --output mail
+fi
diff --git a/logwatch/.keep_sys-apps_logwatch-0 b/logwatch/.keep_sys-apps_logwatch-0
new file mode 100644 (file)
index 0000000..e69de29