Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: mackayr on July 24, 2005, 09:19:35 AM

Title: I need the text of a file in ...events/actions
Post by: mackayr on July 24, 2005, 09:19:35 AM
I accidentally erased the contents of a file in /etc/e-smith/events/actions.  The file is cups-anacron-logrotate.  I'm running SME 6.5.

I'd very much appreciate if someone would cut/paste the text in their copy into this forum so I can update mine.

Thanks in advance,

Rob
Title: I need the text of a file in ...events/actions
Post by: Robert on July 31, 2005, 04:33:35 PM
#!/bin/sh

/usr/sbin/anacron -t /home/e-smith/cups/anacrontab >/dev/null 2>&1 || true

Anacron command is all on one line.
Permission mode is 554. Ownership root:root.

The file is owned by e-smith-PrintAnalyzer-0.0.1. Reinstalling that package with --replacepkgs would also retrieve the file with correct mode and ownership.

HTH,
Robert