diff options
author | Roy Marples <uberlord@gentoo.org> | 2007-07-13 10:31:25 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2007-07-13 10:31:25 +0000 |
commit | 1f43b1b1e94128a4010380497014cc6dfcc4e304 (patch) | |
tree | c1718007c7529cd94ddd20a17512ab62ba881d27 /app-admin/sysklogd/files | |
parent | Version bump and cleanup old (diff) | |
download | historical-1f43b1b1e94128a4010380497014cc6dfcc4e304.tar.gz historical-1f43b1b1e94128a4010380497014cc6dfcc4e304.tar.bz2 historical-1f43b1b1e94128a4010380497014cc6dfcc4e304.zip |
Don't hardcode paths, #185180.
Package-Manager: portage-2.1.3_rc8
Diffstat (limited to 'app-admin/sysklogd/files')
-rw-r--r-- | app-admin/sysklogd/files/digest-sysklogd-1.4.2_pre20061230-r2 | 6 | ||||
-rw-r--r-- | app-admin/sysklogd/files/syslog-cron | 14 |
2 files changed, 13 insertions, 7 deletions
diff --git a/app-admin/sysklogd/files/digest-sysklogd-1.4.2_pre20061230-r2 b/app-admin/sysklogd/files/digest-sysklogd-1.4.2_pre20061230-r2 new file mode 100644 index 000000000000..c4359b3d0a05 --- /dev/null +++ b/app-admin/sysklogd/files/digest-sysklogd-1.4.2_pre20061230-r2 @@ -0,0 +1,6 @@ +MD5 c3f301297d5b9d40f87e4157653650a4 sysklogd-1.4.1-cvs-20061230.patch.bz2 12584 +RMD160 50dd59916af80b84618b98229cfafc21b547d2c0 sysklogd-1.4.1-cvs-20061230.patch.bz2 12584 +SHA256 4ca2fd34dacd1c10018b6a786c24faa392d6fef57607e240e3bcaf925231e2b2 sysklogd-1.4.1-cvs-20061230.patch.bz2 12584 +MD5 d214aa40beabf7bdb0c9b3c64432c774 sysklogd-1.4.1.tar.gz 81784 +RMD160 5e60f1294c45932915a3dcd1018cdc02d005a3e0 sysklogd-1.4.1.tar.gz 81784 +SHA256 44357e0fae8c8f0e315bf130b4e86a4f96b91d66eeb4e473def4ce8336fff102 sysklogd-1.4.1.tar.gz 81784 diff --git a/app-admin/sysklogd/files/syslog-cron b/app-admin/sysklogd/files/syslog-cron index 8ee555a55af3..86d6cce9714b 100644 --- a/app-admin/sysklogd/files/syslog-cron +++ b/app-admin/sysklogd/files/syslog-cron @@ -8,24 +8,24 @@ # stuff # # Written by Martin Schulze <joey@debian.org>. -# $Id: syslog-cron,v 1.5 2004/10/03 08:43:14 vapier Exp $ +# $Id: syslog-cron,v 1.6 2007/07/13 10:31:25 uberlord Exp $ cd /var/log -for LOG in `/usr/sbin/syslogd-listfiles` +for LOG in `syslogd-listfiles` do if [ -f $LOG ]; then - /usr/sbin/savelog -g adm -m 640 -u root -c 7 $LOG >/dev/null + savelog -g adm -m 640 -u root -c 7 $LOG >/dev/null fi done -for LOG in `/usr/sbin/syslogd-listfiles --auth` +for LOG in `syslogd-listfiles --auth` do if [ -f $LOG ]; then - /bin/chown root:adm $LOG - /bin/chmod o-rwx $LOG + chown root:adm $LOG + chmod o-rwx $LOG fi done # Restart syslogd # -/bin/killall -HUP syslogd +killall -HUP syslogd |